Commit dafc36b
Fix Render Graph Viewer displaying incorrect store reasoning for MSAA textures
Fix https://jira.unity3d.com/browse/UUM-67987
Render Graph Viewer displays a "store reasoning message" for Raster Pass Attachments to help understand why the system selected a given store action (one of `Store`, `Resolve` , `StoreAndResolve` or `DontCare`). Because `StoreAndResolve` exists, it means that we can potentially keep both the resolved and non-resolved data from a MSAA texture, and the reasoning for both of is independently decided. Therefore for MSAA attachments, we need to display two separate store reason messages in Render Graph Viewer. This PR fixes a bug where the UI only picked the first, default store reason message.
For MSAA textures, UI looks like this:
- See separate store reason messages for "Resolved surface" and "MSAA surface"
- For non-MSAA attachments, the MSAA-specific information is not displayed.

This PR also contains a separate UI fix for Render Graph Viewer that makes the highlight animation update smoothly. It's a simple workaround to [this issue](https://jira.unity3d.com/browse/UUM-68010) that has been flagged for UITK team.1 parent 9ccd98c commit dafc36b
File tree
4 files changed
+42
-7
lines changed- Packages/com.unity.render-pipelines.core
- Editor/RenderGraph
- Runtime/RenderGraph
- Compiler
4 files changed
+42
-7
lines changedLines changed: 31 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
346 | | - | |
| 347 | + | |
347 | 348 | | |
348 | | - | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
349 | 357 | | |
350 | | - | |
351 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
352 | 363 | | |
353 | 364 | | |
354 | 365 | | |
| |||
427 | 438 | | |
428 | 439 | | |
429 | 440 | | |
430 | | - | |
| 441 | + | |
431 | 442 | | |
432 | 443 | | |
433 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
434 | 451 | | |
435 | | - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
436 | 461 | | |
437 | 462 | | |
438 | 463 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
| 433 | + | |
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments