skia2/tests/sksl/metal
John Stiles da5cdf6a70 Add default uniform binding value for Metal/SPIR-V.
This allows interface blocks in Metal to compile even if
`layout(binding=...)` is not specified. It will also be used in SPIR-V
in the followup CL, when an interface block is automatically synthesized
for top-level uniforms.

This CL also reorganizes the unit tests around uniforms a bit.

Change-Id: Ia898c536b454dda6f51677e232a8f6e6c3606022
Bug: skia:11225
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/360778
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-01-28 19:23:49 +00:00
..
CastHalf4ToMat2x2.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
CastMat2x2ToMat3x3.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
CastMat2x3ToMat4x4.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
CastMat4x4ToMat3x4.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
CastMat4x4ToMat4x3.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
NumericGlobals.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
OpaqueTypeInInterfaceBlock.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
OpaqueTypeInStruct.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
OutParams.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
OutVarsRequireLocation.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SamplerGlobals.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
SwizzleHelper.metal Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00