yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
a23adc221
master
1//TEST:COMPARE_HLSL: -profile cs_5_0 -entry main 2 3// Confirm that we properly pass along the `numthreads` attribute on an entry point. 4 5#ifndef __SLANG__ 6#define b b_0 7#endif 8 9RWStructuredBuffer < float > b ; 10 11[ numthreads ( 32 , 1 , 1 )] 12void main ( uint3 tid : SV_DispatchThreadID ) 13{ 14b [ tid . x ] = b [ tid . x + 1 ] + 1.0f ; 15}