Skip to content
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

Merged
merged 4 commits into from
Jan 19, 2022
Merged

Conversation

jaebaek
Copy link
Collaborator

@jaebaek jaebaek commented Jan 17, 2022

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

@jaebaek jaebaek requested a review from sudonatalie January 17, 2022 22:50
@jaebaek jaebaek self-assigned this Jan 17, 2022
@jaebaek
Copy link
Collaborator Author

jaebaek commented Jan 17, 2022

@jiaolu Could you please review this PR?

@AppVeyorBot
Copy link

@jiaolu
Copy link
Contributor

jiaolu commented Jan 18, 2022

@jiaolu Could you please review this PR?

sure, will take a look

Copy link
Contributor

@jiaolu jiaolu left a 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

@jaebaek
Copy link
Collaborator Author

jaebaek commented Jan 18, 2022

@jiaolu Thanks!

Copy link
Collaborator

@sudonatalie sudonatalie left a 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
@AppVeyorBot
Copy link

@jaebaek jaebaek merged commit 19139d8 into microsoft:master Jan 19, 2022
@jaebaek jaebaek deleted the ext_result_id branch January 19, 2022 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants