Description
test.slang:
[[vk::binding(0)]]
StructuredBuffer<float3> Scene : register(t1);
[numthreads(8, 8, 1)]
void main(uint3 DTid : SV_DispatchThreadID)
{
uint2 numVertsStride;
Scene.GetDimensions(numVertsStride.x, numVertsStride.y);
}
Command:
.\slangc .\test.slang -target wgsl -entry main -stage compute -o test.wgsl
The command completes without any reported error, but there is no test.wgsl output.
Metadata
Metadata
Assignees
Labels
No labels