Skip to content

Fix issue with SC_PrimitiveID not handlded correctly for overdraw (fail to compil with XR) #2164

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

Merged
merged 4 commits into from
Oct 10, 2020

Conversation

sebastienlagarde
Copy link
Contributor

@sebastienlagarde sebastienlagarde commented Oct 10, 2020

Purpose of this PR

To compile correctly, the various SV_RenderTargetArrayIndex , SV_PrimitiveID and SV_IsFrontFace need to be define in a strict order. Previous overdraw PR was failing on various platform and XR. This PR implement proper ordering for those semantic in HDRP.


Testing status

Automatic test are enough


Comments to reviewers

Notes for the reviewers you have assigned.

@github-actions
Copy link

It appears that you made a non-draft PR!
Please convert your PR to draft (button on the right side of the page)
and cancel any jobs that started on Yamato.
See the PR template for more information.
Thank you!

@sebastienlagarde sebastienlagarde merged commit bfabcd2 into HDRP/staging Oct 10, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/fix-primitive-id branch October 10, 2020 20:57
@sebastienlagarde sebastienlagarde restored the HDRP/fix-primitive-id branch October 10, 2020 20:57
@sebastienlagarde sebastienlagarde deleted the HDRP/fix-primitive-id branch November 12, 2020 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant