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] Invalid SPIR-V generated with the use of bitfields #7103

Open
takayhan-AMD opened this issue Jan 30, 2025 · 0 comments
Open

[SPIR-V] Invalid SPIR-V generated with the use of bitfields #7103

takayhan-AMD opened this issue Jan 30, 2025 · 0 comments
Labels
bug Bug, regression, crash needs-triage Awaiting triage spirv Work related to SPIR-V

Comments

@takayhan-AMD
Copy link

Description
Having bitfields in a struct causes compilation to fail.

Steps to Reproduce
https://shader-playground.timjones.io/a6fb2a5f44a1a72a024303829a98cd0c

Actual Behavior
fatal error: generated SPIR-V is invalid: Index is out of bounds, can not find index 1 in the structure '4'. This structure has 1 members. Largest valid index is 0.

Environment

  • DXC version: 1.7 - 1.7.0.3939 (5e080a7)
  • Host Operating System: Windows 10 Pro
@takayhan-AMD takayhan-AMD added bug Bug, regression, crash needs-triage Awaiting triage spirv Work related to SPIR-V labels Jan 30, 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 spirv Work related to SPIR-V
Projects
Status: No status
Development

No branches or pull requests

1 participant