mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01:00
gl: Restrict compute image bindings to [0-8]
NVIDIA only supports 8 compute image slots even on modern GPUs.
This commit is contained in:
parent
df36c44bc2
commit
79f2c21dfb
@ -21,7 +21,7 @@
|
||||
#define GL_INTERPRETER_VERTEX_BLOCK SSBO_SLOT(0)
|
||||
#define GL_INTERPRETER_FRAGMENT_BLOCK SSBO_SLOT(1)
|
||||
#define GL_COMPUTE_BUFFER_SLOT(index) SSBO_SLOT(2 + index)
|
||||
#define GL_COMPUTE_IMAGE_SLOT(index) UBO_SLOT(index)
|
||||
#define GL_COMPUTE_IMAGE_SLOT(index) SSBO_SLOT(index)
|
||||
|
||||
//Function call wrapped in ARB_DSA vs EXT_DSA compat check
|
||||
#define DSA_CALL(func, object_name, target, ...)\
|
||||
|
Loading…
Reference in New Issue
Block a user