-
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 vk::ext_result_id<T>
type
#4192
Conversation
@jiaolu Could you please review this PR? |
✅ Build DirectXShaderCompiler 1.0.1072 completed (commit f2ee21ccb9 by @jaebaek) |
sure, will take a look |
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.
very cool implementation,
looks great to me
@jiaolu Thanks! |
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 % nits
As a part of HLSL version of GL_EXT_spirv_intrinsics, this commit adds vk::ext_result_id<T> type. We must use it for a variable definition or a function parameter. It means we do not consider it as a physical storage. Instead, it will be a result id of the instruction. Related to microsoft#3919
This reverts commit 2d77432.
58d20a2
to
cf70a26
Compare
✅ Build DirectXShaderCompiler 1.0.1079 completed (commit 4a379caf14 by @jaebaek) |
As a part of HLSL version of GL_EXT_spirv_intrinsics, this commit adds
vk::ext_result_id type. We must use it for a variable definition or
a function parameter. It means we do not consider it as a physical
storage. Instead, it will be a result id of the instruction.
Related to #3919