diff options
Diffstat (limited to 'tests/reflection/texture-resource-type.slang')
| -rw-r--r-- | tests/reflection/texture-resource-type.slang | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/reflection/texture-resource-type.slang b/tests/reflection/texture-resource-type.slang new file mode 100644 index 000000000..2455ba611 --- /dev/null +++ b/tests/reflection/texture-resource-type.slang @@ -0,0 +1,21 @@ +// texture-resource-type.slang + +// Tests reflection of inner texture type. + +//TEST:REFLECTION:-stage compute -entry main -target hlsl + +Texture2D NoParameters; +Texture2D<float> FloatTexture; +Texture2D<float2> FloatTwoTexture; +Texture2D<float4> FloatFourTexture; +Texture2D<int> IntTexture; +Texture2D<int2> IntTwoTexture; +Texture2D<int4> IntFourTexture; +Texture2D<uint> UintTexture; +Texture2D<uint2> UintTwoTexture; +Texture2D<uint4> UintFourTexture; + +[numthreads(1, 1, 1)] +void main(uint3 dispatchThreadID : SV_DispatchThreadID) +{ +} |
