yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
69cb6e8f3
master
1//TEST:REFLECTION:-profile cs_5_0 -target hlsl -no-codegen 2 3// Confirm that we provide reflection data for the `numthreads` attribute 4 5RWStructuredBuffer < float > b ; 6 7[ numthreads ( 3 , 5 , 7 )] 8void main ( uint3 tid : SV_DispatchThreadID ) 9{ 10b [ tid . x ] = b [ tid . x + 1 ] + 1.0f ; 11}