Skip to content

[SPIRV] Handle member travrersal with template type - #7674

Merged
Steven Perron (s-perron) merged 1 commit into
microsoft:mainfrom
s-perron:i7178
Jul 30, 2025
Merged

Steven Perron (s-perron) merged 1 commit into
microsoft:mainfrom
s-perron:i7178

Conversation

@s-perron

Copy link
Copy Markdown
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
Steven Perron (s-perron) merged commit 4c8d21a into microsoft:main Jul 30, 2025
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

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

2 participants