diff options
author | Hai Nguyen <chaoticbob@me.com> | 2017-10-09 22:03:59 -0700 |
---|---|---|
committer | Hai Nguyen <chaoticbob@me.com> | 2017-10-09 22:03:59 -0700 |
commit | 98c11902fd1a441476b70a5f8595b505cf20d2e2 (patch) | |
tree | 15c21b3e54e3a064e72d1467e61650472641b4b0 /tests/hlsl/binding_array.hlsl | |
parent | e3f011773fe584ac244acfca488dfad8564ef14c (diff) | |
download | SPIRV-Reflect-98c11902fd1a441476b70a5f8595b505cf20d2e2.tar.gz |
Added missing copy of array dims from tye to descriptor bindings
Diffstat (limited to 'tests/hlsl/binding_array.hlsl')
-rw-r--r-- | tests/hlsl/binding_array.hlsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/hlsl/binding_array.hlsl b/tests/hlsl/binding_array.hlsl new file mode 100644 index 0000000..16c4a69 --- /dev/null +++ b/tests/hlsl/binding_array.hlsl @@ -0,0 +1,9 @@ + +SamplerState MySampler[4][3][2][1] : register(s0); + +Texture2D MyTexture[2] : register(t1); + +float4 main(float4 sv_pos : SV_POSITION) : SV_TARGET { + float4 ret = MyTexture[0].Sample(MySampler[0][0][0][0], float2(0, 0)); + return ret; +}
\ No newline at end of file |