Commit d706616
fix(renderer): track UBO and SSBO binding namespaces separately
UBOs and SSBOs use separate GL binding namespaces (GL_UNIFORM_BUFFER
vs GL_SHADER_STORAGE_BUFFER), so a UBO at binding 0 does not collide
with an SSBO at binding 0. Track them independently in the collision
detection pass to avoid unnecessary reassignments.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 775d769 commit d706616
1 file changed
Lines changed: 21 additions & 8 deletions
Lines changed: 21 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1538 | 1538 | | |
1539 | 1539 | | |
1540 | 1540 | | |
1541 | | - | |
1542 | | - | |
1543 | | - | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
1544 | 1547 | | |
1545 | 1548 | | |
1546 | 1549 | | |
1547 | 1550 | | |
1548 | 1551 | | |
1549 | 1552 | | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
1550 | 1561 | | |
1551 | | - | |
1552 | | - | |
1553 | | - | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
1554 | 1569 | | |
1555 | | - | |
1556 | 1570 | | |
1557 | 1571 | | |
1558 | 1572 | | |
1559 | 1573 | | |
1560 | 1574 | | |
1561 | 1575 | | |
1562 | | - | |
1563 | 1576 | | |
1564 | 1577 | | |
1565 | 1578 | | |
| |||
0 commit comments