Fix issue with 0-sized dispatch with extremely low resolutions#5272
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. HDRP 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. |
|
It appears that you made a non-draft PR! |
|
Added QA for awareness but the change is small enough , test is sufficient (helping with low number of QA this week) |
Fix for https://fogbugz.unity3d.com/f/cases/1354181/
The issue was due to an integer division that would round down to 0 when resolution is extremely small (not that I expect that would happen in any real project).
What did I test: downloaded repro and set the resolution to 30x30 to repro. Before it would spam an error, now it doesn't.