Commit f69e87c
[JIRA # UMM-64133] Fixing hardware DRS half res downsample.
* Fixing the wrong texture being set (due to resource name leaking) for half res downsample: instead of using _CameraDepthTexture which could be anything, using an new explicit name _SourceDownsampleDepth
* When hardware DRS is on, we can safely assume that the ratio between the input and output textures is 1 because the GPU hardware sizes are watertight.
Jira: https://jira.unity3d.com/browse/UUM-641331 parent c96bae6 commit f69e87c
3 files changed
Lines changed: 21 additions & 12 deletions
File tree
- Packages/com.unity.render-pipelines.high-definition/Runtime
- RenderPipeline
- ShaderLibrary
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
| 1459 | + | |
1459 | 1460 | | |
1460 | 1461 | | |
1461 | 1462 | | |
| |||
1499 | 1500 | | |
1500 | 1501 | | |
1501 | 1502 | | |
1502 | | - | |
| 1503 | + | |
1503 | 1504 | | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
| 1505 | + | |
1507 | 1506 | | |
1508 | 1507 | | |
1509 | 1508 | | |
| |||
1514 | 1513 | | |
1515 | 1514 | | |
1516 | 1515 | | |
1517 | | - | |
| 1516 | + | |
1518 | 1517 | | |
1519 | 1518 | | |
1520 | 1519 | | |
1521 | 1520 | | |
1522 | 1521 | | |
1523 | 1522 | | |
1524 | 1523 | | |
1525 | | - | |
1526 | | - | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1527 | 1532 | | |
1528 | 1533 | | |
1529 | 1534 | | |
1530 | 1535 | | |
| 1536 | + | |
1531 | 1537 | | |
1532 | 1538 | | |
1533 | 1539 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| 524 | + | |
524 | 525 | | |
525 | 526 | | |
526 | 527 | | |
| |||
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | | - | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
0 commit comments