Commit 5b3a0ac
Fix "missing resolve surface" issue in RG Compiler logic with MSAA & UnsafePass
Fix https://jira.unity3d.com/browse/UUM-73154
This PR fixes regression introduced by https://github.cds.internal.unity3d.com/unity/unity/pull/46702 where UnsafePass using a MSAA texture would result in "Missing resolve surface" errors. This was because the change was incorrectly always setting `needsResolvedData = true`. This is incorrect in the situation where the unsafe pass is binding it as multisampled texture - in this situation we never resolve (as mentioned by a comment a couple of lines up).1 parent 43cb2de commit 5b3a0ac
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
| 942 | + | |
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
| |||
0 commit comments