This repository was archived by the owner on Nov 30, 2020. It is now read-only.
Commit b44a621
committed
Get context width/height from XR eye texture (when XR is active)
This handles the double-wide issue for temporary RTs in stereo.
We still need to accomodate:
* Stereo render target arraus
* Shaders that need to know the per-eye texture size1 parent bb6a5d3 commit b44a621
1 file changed
Lines changed: 36 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
11 | 38 | | |
12 | 39 | | |
13 | 40 | | |
| |||
41 | 68 | | |
42 | 69 | | |
43 | 70 | | |
| 71 | + | |
44 | 72 | | |
45 | 73 | | |
46 | | - | |
| 74 | + | |
47 | 75 | | |
48 | 76 | | |
49 | 77 | | |
| 78 | + | |
50 | 79 | | |
51 | 80 | | |
52 | | - | |
| 81 | + | |
53 | 82 | | |
54 | 83 | | |
55 | 84 | | |
| |||
64 | 93 | | |
65 | 94 | | |
66 | 95 | | |
67 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
68 | 100 | | |
69 | 101 | | |
70 | 102 | | |
| |||
0 commit comments