summaryrefslogtreecommitdiff
path: root/tests/reflection/texture-resource-type.slang
blob: 2455ba611f8ebae357b758612f8f74dc5bc4c432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)
{
}