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] OpAccessChain as inline SPIR-V fails #6891

Open
s-perron opened this issue Sep 3, 2024 · 1 comment
Open

[SPIR-V] OpAccessChain as inline SPIR-V fails #6891

s-perron opened this issue Sep 3, 2024 · 1 comment
Assignees
Labels
bug Bug, regression, crash spirv Work related to SPIR-V
Milestone

Comments

@s-perron
Copy link
Collaborator

s-perron commented Sep 3, 2024

Description

When a spir-v intrinsic function is defined that generates the OpAccessChain instruction, the follow error message comes up:

Internal Compiler error: cast<X>() argument of incompatible type!

We should see if it is possible to fix. That cannot always be worked around because people may have workgroup pointers that they want to be able to index. We are adding workgroup pointers to the HLSL standard headers files, so we might want to see what we can do with this.

Steps to Reproduce

https://godbolt.org/z/zM3Y74sfG

Actual Behavior
Internal compiler error.

Environment

  • DXC version: trunk
  • Host Operating System: all
@s-perron s-perron added bug Bug, regression, crash spirv Work related to SPIR-V needs-triage Awaiting triage and removed needs-triage Awaiting triage labels Sep 3, 2024
@s-perron s-perron added this to the Next Release milestone Sep 3, 2024
@s-perron s-perron self-assigned this Sep 17, 2024
@s-perron
Copy link
Collaborator Author

s-perron commented Sep 17, 2024

Fixed by #6720.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug, regression, crash spirv Work related to SPIR-V
Projects
Status: In progress
Status: Triaged
Development

No branches or pull requests

1 participant