From 8181498d860d2b71b75a6b4560b91fd35097aebf Mon Sep 17 00:00:00 2001 From: kd-11 Date: Wed, 3 Aug 2022 19:01:58 +0300 Subject: [PATCH] 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. --- 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 0819eb404b..665a4e097a 100644 --- a/rpcs3/Emu/RSX/GL/glutils/common.h +++ b/rpcs3/Emu/RSX/GL/glutils/common.h @@ -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)