-
Notifications
You must be signed in to change notification settings - Fork 855
Re-enabled URP debug view shader code following a HLSLcc fix #6027
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
Re-enabled URP debug view shader code following a HLSLcc fix #6027
Conversation
Hi! This comment will help you figure out which jobs to run before merging your PR. The suggestions are dynamic based on what files you have changed. URP Depending on the scope of your PR, you may need to run more jobs than what has been suggested. Please speak to your lead or a Graphics SDET (#devs-graphics-automation) if you are unsure. |
|
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.
developer already tested it, approving without additional coverage
2e65531
to
66f21ef
Compare
66f21ef
to
1e5338d
Compare
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
* Remove ifdef that disabled debug shader functionality due to HLSLcc bug. - This was fixed in https://ono.unity3d.com/unity/unity/pull-request/132203/_/graphics/shadersystem/minor_fixes_0003 * Changelog Co-authored-by: Felipe Lira <felipedrl@gmail.com>
Purpose of this PR
This bug has been fixed in 22.1.0a13: https://fogbugz.unity3d.com/f/cases/1334240/, so I can now re-enable code that was disabled on VK/GL due to the bug.
Testing status
Tested locally using the repro project on the ticket. With engine build before the fix, the shader error reproduces, and after the fix it no longer occurs.
Note to QA: If you want to test yourself, use latest trunk or at least 2022.1.0a13.
Note: Needs backport to 2021.2, but backporter must make sure this ono PR has landed in 21.2/staging before backporting this PR.