yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
639978008
master
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}