Commit 85e33e6
Clear Global Render Graph Texture Bindings After Execution
This change adds logic to render graph that clears global texture bindings after execution. This behavior prevents code that follows the render graph execution from depending on resources that are only valid within the graph's scope. The behavior is controlled via a C# define for now because it uncovers several other issues that need to be resolved before this is enabled unconditionally.
This PR is an temporary change that's a prerequisite for fixing UUM-74470.
It has no functional impact when the C# define is not set.1 parent 0c9aaf6 commit 85e33e6
2 files changed
Lines changed: 23 additions & 0 deletions
File tree
- Packages/com.unity.render-pipelines.core/Runtime/RenderGraph
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1236 | 1241 | | |
1237 | 1242 | | |
1238 | 1243 | | |
| |||
2588 | 2593 | | |
2589 | 2594 | | |
2590 | 2595 | | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
2591 | 2612 | | |
2592 | 2613 | | |
2593 | 2614 | | |
| |||
0 commit comments