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

Fix Hgi Vulkan shader generation flip UV y coordinate on texture access. #2504

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

schevrel
Copy link
Contributor

Description of Change(s)

Modifying shader generation on HgiVulkan to flip the UV y coordinate when looking up textures so Vulkan shaders behave like on other backends.

Fixes Issue(s)

Aovs processed by UsdImagingGl tasks (Color correction, selection, etc.) appear flipped vertically from their initial state after processing when using Hgi Vulkan.

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@jesschimein
Copy link

Filed as internal issue #USD-8444

schevrel and others added 3 commits July 28, 2023 14:12
Fixed math error off by one when inverting the texelCoordinate
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.

3 participants