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

[SPIRV] Simplify looking for input storage class #6968

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

s-perron
Copy link
Collaborator

The function DeclResultIdMapper::isInputStorageClass tries to
determine the storage class for the stage variable by looking at its
SigPoint. This does not always work.

This change simply looks at the storage class that is already associated
with the variable, which should have been set when the StageVar was
created.

Fixes #6959

The function `DeclResultIdMapper::isInputStorageClass` tries to
determine the storage class for the stage variable by looking at its
SigPoint. This does not always work.

This change simply looks at the storage class that is already associated
with the variable, which should have been set when the StageVar was
created.

Fixes microsoft#6959
@s-perron s-perron requested a review from a team as a code owner October 15, 2024 17:24
@s-perron s-perron merged commit db90a46 into microsoft:main Oct 21, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[SPIR-V] DXC crashes with lib_x_x target profile and SPIR-V input/output variables
3 participants