Skip to content

[SPIRV] Handle partial template class specialization - #7673

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

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

Conversation

@s-perron

Copy link
Copy Markdown
Collaborator

The SpirvEmitter does not handle
ClassTemplatePartialSpecializationDecl. Since it extends RecordDecl, DXC
attempts to generate code for the partial specialization, but fails
because that is not possible.

We need to avoid trying to generate code for the partial specialization
and wait for a full specialization.

Fixes #7007

The SpirvEmitter does not handle
ClassTemplatePartialSpecializationDecl. Since it extends RecordDecl, DXC
attempts to generate code for the partial specialization, but fails
because that is not possible.

We need to avoid trying to generate code for the partial specialization
and wait for a full specialization.

Fixes microsoft#7007
@s-perron
Steven Perron (s-perron) merged commit 1e3da15 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] Partial Template Specializations with non-type parameters crashes DXC with found unregistered decl

2 participants