-
Notifications
You must be signed in to change notification settings - Fork 722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPIRV] Add support vk::ext_execution_mode #4086
Conversation
✅ Build DirectXShaderCompiler 1.0.850 completed (commit 20dfc556ef by @jiaolu) |
There was a problem hiding this comment.
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.
// RUN: %dxc -T ps_6_0 -E main -spirv -Vd | ||
|
||
//CHECK: {{%\w+}} = OpVariable {{%\w+}} RayPayloadNV | ||
//CHECK: {{%\w+}} = OpVariable {{%\w+}} CrossWorkgroup |
There was a problem hiding this comment.
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.
[[vk::ext_storage_class(uint storage_class)]] this is part of PRs for the microsoft#3919
87354bd
to
039dd8c
Compare
✅ Build DirectXShaderCompiler 1.0.854 completed (commit ea66c5ecef by @jiaolu) |
There was a problem hiding this comment.
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!
[[vk::ext_storage_class(uint storage_class)]]
this is part of PRs for the
#3919