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

[SPIR-V] Unhandled Exception "Name is not a simple identifier" and others, but only when running in debugger #6973

Open
devshgraphicsprogramming opened this issue Oct 17, 2024 · 2 comments
Labels
bug Bug, regression, crash needs-triage Awaiting triage spirv Work related to SPIR-V

Comments

@devshgraphicsprogramming

Description

I was making a shader with the EXE/godbolt of the compiler, but now when I compile at runtime I get unhandled exception after unhandled exception

Steps to Reproduce

This godbolt: https://godbolt.org/z/WMsK7sP3d

Actual Behavior

Can't run with the debugger attached

Environment

  • DXC version: trunk as of 17/10/24
  • Host Operating System Godbolt
@devshgraphicsprogramming devshgraphicsprogramming added bug Bug, regression, crash needs-triage Awaiting triage spirv Work related to SPIR-V labels Oct 17, 2024
@devshgraphicsprogramming
Copy link
Author

Made a 50% smaller repro https://godbolt.org/z/qojxv4c5M

@devshgraphicsprogramming
Copy link
Author

devshgraphicsprogramming commented Oct 18, 2024

The whole bug seems to be caused by me defining void WhittedTask::operator()() outside the struct

Might also affect DXIL/non-spirv output

devshgraphicsprogramming pushed a commit to Devsh-Graphics-Programming/Nabla-Examples-and-Tests that referenced this issue Oct 18, 2024
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 spirv Work related to SPIR-V
Projects
Status: For Google
Development

No branches or pull requests

1 participant