From 79f2c21dfb70091c143106239bf86175e88abb08 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 19 Sep 2022 00:31:56 +0300 Subject: [PATCH] gl: Restrict compute image bindings to [0-8] NVIDIA only supports 8 compute image slots even on modern GPUs. --- rpcs3/Emu/RSX/GL/glutils/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/GL/glutils/common.h b/rpcs3/Emu/RSX/GL/glutils/common.h index e2af1e1b7e..b4c75762f1 100644 --- a/rpcs3/Emu/RSX/GL/glutils/common.h +++ b/rpcs3/Emu/RSX/GL/glutils/common.h @@ -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, ...)\