Skip to content

[SPIR-V] Remove unnecessary cases for SampledTexture that are breaking builds#8375

Merged
luciechoi merged 3 commits intomicrosoft:mainfrom
luciechoi:ifdef
Apr 15, 2026
Merged

[SPIR-V] Remove unnecessary cases for SampledTexture that are breaking builds#8375
luciechoi merged 3 commits intomicrosoft:mainfrom
luciechoi:ifdef

Conversation

@luciechoi
Copy link
Copy Markdown
Collaborator

@luciechoi luciechoi commented Apr 14, 2026

Part of #7979

These cases aren't needed and should be removed. (previously was failing builds because they weren't wrapped around #ifdef)

GetBasicKindType maps ArBasicKind values to Clang QualType objects. SampledTexture wrappers are not introduced through that mapping table, so it shouldn't be added here (it's a no-op for SampledTexture types).

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 1 pipeline(s).

@luciechoi luciechoi requested review from Keenuts and s-perron April 14, 2026 18:52
@luciechoi luciechoi enabled auto-merge (squash) April 14, 2026 18:52
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 1 pipeline(s).

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 1 pipeline(s).

@Keenuts
Copy link
Copy Markdown
Collaborator

Keenuts commented Apr 15, 2026

The description is not up to date anymore no?
Because the code being removed is properly gated with the #ifdef. This is just dead code?

@luciechoi luciechoi merged commit 464f750 into microsoft:main Apr 15, 2026
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Apr 15, 2026
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.

3 participants