yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Harsh Aggarwal (NVIDIA)Fix#8086: Batch-10: Enable cuda tests (#8270)639978008

master
236 B13 linesraw
1//TEST:SIMPLE(filecheck=CHECK): -target spirv
2
3// CHECK: OpImageFetch %v4float {{.*}} Lod %int_1
4
5RWStructuredBuffer<float4> result;
6
7uniform Texture2D gTex;
8
9[numthreads(1,1,1)]
10void main()
11{
12    result[0] = gTex.mips[1][int2(3,4)];
13}