Skip to content

[SPIRV] Handle member travrersal with template type #7674

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 30, 2025

Conversation

s-perron
Copy link
Collaborator

The SPIR-V backend does not handle SubstTemplateTypeParmType types when
traversing getting the SPIR-V fields. In these cases, we will always
want the replacement type. So we modify forEachSpirvField to do that in
all cases.

Fixes #7178

The SPIR-V backend does not handle SubstTemplateTypeParmType types when
traversing getting the SPIR-V fields. In these cases, we will always
want the replacement type. So we modify forEachSpirvField to do that in
all cases.

Fixes microsoft#7178
@s-perron s-perron merged commit 4c8d21a into microsoft:main Jul 30, 2025
13 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Jul 30, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[SPIR-V] SIGSEGV when casting to an invalid type
2 participants