Skip to content

[SPIRV] Refactor OpExecutionModeId - #7378

Merged
Steven Perron (s-perron) merged 2 commits into
microsoft:mainfrom
s-perron:exe_mode_id
Apr 29, 2025
Merged

Steven Perron (s-perron) merged 2 commits into
microsoft:mainfrom
s-perron:exe_mode_id

Conversation

@s-perron

Copy link
Copy Markdown
Collaborator

The current implementation of OpExecutionModeId assumes that the
operands must be OpConstants. However, they could be the id of a
spec constant. The first step in allowing OpExecutionModeId is to modify
the internal representation of the instruction to hold general spirv
instructions.

Part of #5960
and #3092.

@s-perron

Copy link
Copy Markdown
Collaborator Author

FYI: Dan Brown (@danbrown-amd)

@Keenuts Nathan Gauër (Keenuts) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some bits, but overall LGTM

Comment thread tools/clang/lib/SPIRV/EmitVisitor.cpp Resolved
The current implementation of OpExecutionModeId assumes that the
operands must be OpConstants. However, they could be the id of a
spec constant. The first step in allowing OpExecutionModeId is to modify
the internal representation of the instruction to hold general spirv
instructions.

Part of microsoft#5960
and microsoft#3092.
@s-perron
Steven Perron (s-perron) merged commit e866b4b into microsoft:main Apr 29, 2025
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap Apr 29, 2025
@s-perron
Steven Perron (s-perron) deleted the exe_mode_id branch April 29, 2025 13:35
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.

3 participants