Skip to content

[SPIRV] Add support vk::ext_execution_mode - #4086

Merged
Jaebaek Seo (jaebaek) merged 2 commits into
microsoft:masterfrom
jiaolu:spirv_storage_class
Nov 18, 2021
Merged

Jaebaek Seo (jaebaek) merged 2 commits into
microsoft:masterfrom
jiaolu:spirv_storage_class

Conversation

@jiaolu

Copy link
Copy Markdown
Contributor

[[vk::ext_storage_class(uint storage_class)]]
this is part of PRs for the
#3919

@AppVeyorBot

Copy link
Copy Markdown

@jaebaek Jaebaek Seo (jaebaek) added the spirv Work related to SPIR-V label Nov 17, 2021

@jaebaek Jaebaek Seo (jaebaek) 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.

Thank you for your contribution!

I realize that the spec I wrote about vk::ext_execution_mode(uint execution_mode); is wrong. I forgot to mention the extra literal parameters (Thank you for catching it!).

Your implementation looks fine. I will update the spec based on your implementation soon.

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.

Could you please check the type of variable as well?
We want to make sure that RayPayloadNV is used for payload but it is not used for foo and vice versa. I am just worried in the future some developers can update the code and break your implementation.

Comment thread tools/clang/lib/SPIRV/SpirvEmitter.cpp Resolved
[[vk::ext_storage_class(uint storage_class)]]
this is part of PRs for the
microsoft#3919
@AppVeyorBot

Copy link
Copy Markdown

@jaebaek Jaebaek Seo (jaebaek) 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.

LGTM. Thanks again for your contribution!

@jaebaek
Jaebaek Seo (jaebaek) merged commit 552b11b into microsoft:master Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spirv Work related to SPIR-V

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants