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] generated SPIR-V is invalid: OpStore Pointer <id> '1029[%1029]'s type does not match Object <id> '1066[%1066]'s type. OpStore %1029 %1066 #7182

Open
gjaegy opened this issue Mar 6, 2025 · 1 comment
Labels
bug Bug, regression, crash needs-triage Awaiting triage spirv Work related to SPIR-V

Comments

@gjaegy
Copy link

gjaegy commented Mar 6, 2025

Description
Invalid SPIR-V is generated with the latest release and with head, when compiling with debug

Steps to Reproduce
dxc def_gbuffer_gen_vs_skinned.hlsl -E mainvert -T vs_6_0 -spirv -fspv-target-env=vulkan1.1 -Wall -Wno-unused-const-variable -D imBINDLESS=1 -fspv-extension=SPV_KHR_non_semantic_info -fspv-debug=vulkan-with-source

Actual Behavior
generated SPIR-V is invalid: OpStore Pointer <id> '1029[%1029]'s type does not match Object <id> '1066[%1066]'s type. OpStore %1029 %1066

Environment

  • DXC version February 2025
  • Host Operating System Windows 11

Please contact me and I will send you a repro case per email.

@gjaegy gjaegy added bug Bug, regression, crash needs-triage Awaiting triage spirv Work related to SPIR-V labels Mar 6, 2025
@gjaegy gjaegy changed the title [SPIR-V] [SPIR-V] generated SPIR-V is invalid: OpStore Pointer <id> '1029[%1029]'s type does not match Object <id> '1066[%1066]'s type. OpStore %1029 %1066 Mar 7, 2025
@sd20134
Copy link

sd20134 commented Mar 24, 2025

I observe similar errors

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

2 participants