yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
86e11e0e1
master
1//TEST(fxc):SIMPLE:-pass-through fxc -target dxbc -entry computeMain -stage compute -profile sm_5_1 2 3[ numthreads ( 4 , 1 , 1 )] 4void computeMain ( uint3 dispatchThreadID : SV_DispatchThreadID ) 5{ 6uint tid = dispatchThreadID . x ; 7// Error should be here... as gOutputBuffer is not defined... 8gOutputBuffer [ tid ] = dispatchThreadID . x * 0.5f ; 9}