mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-21 00:39:53 +00:00
gl: Alias UBO/SSBO slots to avoid exceeding the available number of binding slots.
- The sets are different anyway and should not overwrite each other in a proper driver.
This commit is contained in:
parent
57dd611111
commit
8181498d86
@ -9,7 +9,7 @@
|
||||
#define GL_TEMP_IMAGE_SLOT 31
|
||||
|
||||
#define UBO_SLOT(x) (x)
|
||||
#define SSBO_SLOT(x) (x + 8)
|
||||
#define SSBO_SLOT(x) (x)
|
||||
|
||||
#define GL_VERTEX_PARAMS_BIND_SLOT UBO_SLOT(0)
|
||||
#define GL_VERTEX_LAYOUT_BIND_SLOT UBO_SLOT(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user