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

feat: Added instructions for depth reference and project coordinate image instructions #545

Merged

Conversation

DeanBDean
Copy link
Contributor

Adds support for the following instructions

OpImageSampleProjImplicitLod
OpImageSampleProjExplicitLod
OpImageSampleProjDrefImplicitLod
OpImageSampleProjDrefExplicitLod
OpImageSampleDrefImplicitLod
OpImageSampleDrefExplicitLod

as noted here #383

@XAMPPRocky
Copy link
Member

XAMPPRocky commented Mar 29, 2021

Thank you for your PR! You might want to wait for #533 to merge or run the tests on top of this, as I'm pretty sure these tests will fail validation for Vulkan environments with the uniforms missing their descriptor set and binding. Can you update those tests to ensure they compile for vulkan1.1?


Minor nit: could you also add a blank line between each of the methods?

@DeanBDean DeanBDean force-pushed the add-depth-reference-instructions branch from f513a61 to ff85f68 Compare March 29, 2021 07:24
@DeanBDean
Copy link
Contributor Author

Okay, I fixed the line spacing and will wait on #533 and update accordingly

@DeanBDean DeanBDean force-pushed the add-depth-reference-instructions branch 2 times, most recently from 29127c9 to 57e17b3 Compare March 29, 2021 09:29
@XAMPPRocky
Copy link
Member

@DeanBDean Those changes have landed now so a rebase so be all that's needed to get this merged.

@DeanBDean DeanBDean force-pushed the add-depth-reference-instructions branch from 73040e3 to 6d2db9a Compare March 29, 2021 20:16
@XAMPPRocky XAMPPRocky merged commit 5e42986 into EmbarkStudios:main Mar 30, 2021
@XAMPPRocky
Copy link
Member

Thank you for your PR!

XAMPPRocky pushed a commit that referenced this pull request May 3, 2021
…mage instructions (#545)

* feat: Added instructions for depth reference and project coordinate image instructions

* docs: add alias annotation for methods in spirv-std/src/textures.rs
@khyperia khyperia removed their request for review May 31, 2021 09:26
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.

2 participants