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

Resources in groupshared memory causes internal compiler error #6631

Open
pow2clk opened this issue May 16, 2024 · 0 comments
Open

Resources in groupshared memory causes internal compiler error #6631

pow2clk opened this issue May 16, 2024 · 0 comments
Labels
bug Bug, regression, crash incorrect-code Issues relating to handling of incorrect code
Milestone

Comments

@pow2clk
Copy link
Member

pow2clk commented May 16, 2024

Description
Applying the groupshared qualifier onto resource globals results in an internal compiler error. This shouldn't be allowed, but it should produce a useful user error and not an internal casting failure.

Steps to Reproduce

Declare a texture and/or sampler with the groupshared qualifier and make use of them so they don't get eliminated.

https://godbolt.org/z/cbcq74x31

Actual Behavior
results in the error: "Internal Compiler error: cast() argument of incompatible type!"

Environment

  • DXC version 1.8.2405
  • Host Operating System win11
@pow2clk pow2clk added bug Bug, regression, crash needs-triage Awaiting triage incorrect-code Issues relating to handling of incorrect code labels May 16, 2024
@damyanp damyanp removed the needs-triage Awaiting triage label May 20, 2024
@damyanp damyanp added this to the Dormant milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug, regression, crash incorrect-code Issues relating to handling of incorrect code
Projects
Status: Triaged
Development

No branches or pull requests

2 participants