Skip to content

Slang exits without error and without generating wgsl output (2025.6.3) #6842

@Atrix256

Description

@Atrix256

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
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions