yum-mirror/slang

Making it easier to work with shaders

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

jsmall-nvidiaFeature/external compiler reporting (#776)86e11e0e1

master
337 B9 linesraw
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{
6	uint tid = dispatchThreadID.x;
7    // Error should be here... as gOutputBuffer is not defined...
8	gOutputBuffer[tid] = dispatchThreadID.x * 0.5f;
9}