yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
798db8d2b
master
1//TEST(64-bit):REFLECTION:-stage compute -no-codegen -target host-callable -entry computeMain 2 3__global int actualGlobal; 4int regularGlobal; 5 6RWStructuredBuffer<int> outputBuffer; 7 8[numthreads(4, 1, 1)] 9void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) 10{ 11 outputBuffer[dispatchThreadID.x] = dispatchThreadID.x + actualGlobal + regularGlobal; 12}