Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXC crash when compiling hull shader #7173

Open
nixxes-mbouterse opened this issue Mar 3, 2025 · 0 comments
Open

DXC crash when compiling hull shader #7173

nixxes-mbouterse opened this issue Mar 3, 2025 · 0 comments
Labels
bug Bug, regression, crash needs-triage Awaiting triage

Comments

@nixxes-mbouterse
Copy link

Description
DXC crashes internally (segmentation fault) when compiling a hull shader with a specific pattern. There must be a matrix array loaded from a structured buffer inside the shader and there must be a static const matrix array declared at global scope. I couldn't reproduce this is a vertex or pixel shader.

Steps to Reproduce
Try to compile the following shader: https://godbolt.org/z/h4YbbP6hv
Note it produces a segfault.

Actual Behavior
Program terminated with signal: SIGSEGV
Compiler returned: 139

Environment

  • DXC version: 1.8.2407 (but reproduced on multiple versions including trunk)
  • Host Operating System: Windows 11 24H2
@nixxes-mbouterse nixxes-mbouterse added bug Bug, regression, crash needs-triage Awaiting triage labels Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug, regression, crash needs-triage Awaiting triage
Projects
Status: No status
Development

No branches or pull requests

1 participant