microsoft / microsoft/DirectXShaderCompiler
[MacOS only] dxc dump nothing when -fcgl with root signature
Open
Nobody has claimed this yet.
bug
macos
usability
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
Description
dxc dump nothing when -fcgl with root signature on macOS.
Steps to Reproduce
compile with
dxc -Tcs_6_0 -fcgl
StructuredBuffer<matrix> buf1;
RWBuffer<float4> buf2;
[RootSignature("DescriptorTable(SRV(t0), UAV(u0))")]
[numthreads(8, 8, 1)]
void main(uint3 tid : SV_DispatchThreadID) {
buf2[tid.x] = buf1[tid.x][tid.y];
}
Actual Behavior
Nothing dumped in the console.
UTF8BufferToWideBuffer failed caused by the serialized root signature.
Environment
- Host Operating System MacOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the macOS command dxc -Tcs_6_0 -fcgl with the supplied shader and root signature. Trace the reported UTF8BufferToWideBuffer failure through serialized root-signature handling. Done means the shader produces the expected dump output instead of printing nothing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100