Commit 65440c1
committed
fix: preserve user-set uSampler for custom shaders
Don't override uSampler in _setFillUniforms when the user has
explicitly set it via setUniform on their custom shader. Track
user-set uniforms per shader instance and reset each frame.
Fixes #82001 parent 012b46e commit 65440c1
3 files changed
Lines changed: 40 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
732 | 739 | | |
733 | 740 | | |
734 | 741 | | |
| |||
1493 | 1500 | | |
1494 | 1501 | | |
1495 | 1502 | | |
| 1503 | + | |
1496 | 1504 | | |
1497 | 1505 | | |
1498 | 1506 | | |
| |||
1501 | 1509 | | |
1502 | 1510 | | |
1503 | 1511 | | |
1504 | | - | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
1505 | 1515 | | |
1506 | 1516 | | |
1507 | 1517 | | |
| |||
1594 | 1604 | | |
1595 | 1605 | | |
1596 | 1606 | | |
| 1607 | + | |
1597 | 1608 | | |
1598 | 1609 | | |
1599 | 1610 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
1103 | 1104 | | |
1104 | 1105 | | |
1105 | 1106 | | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
1106 | 1111 | | |
1107 | 1112 | | |
1108 | 1113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
211 | 234 | | |
212 | 235 | | |
213 | 236 | | |
| |||
0 commit comments