Initial xtask check-in

This commit is contained in:
2025-01-01 17:32:11 -05:00
commit 52110f4e29
17 changed files with 439 additions and 0 deletions

11
shader/hello-world.slang Normal file
View File

@ -0,0 +1,11 @@
StructuredBuffer<float> buffer0;
StructuredBuffer<float> buffer1;
RWStructuredBuffer<float> result;
[shader("compute")]
[numthreads(1,1,1)]
void computeMain(uint3 threadId : SV_DispatchThreadID)
{
uint index = threadId.x;
result[index] = buffer0[index] + buffer1[index];
}