From 97c7d069ac41386c3a882d337d87e5bd434edc80 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 12 Apr 2026 20:08:21 +0300 Subject: [PATCH] gl: Disable hard requirement for bindless texture to use the interpreter - I never got around to porting the implementation to use bindless correctly --- rpcs3/Emu/RSX/GL/GLGSRender.cpp | 3 ++- rpcs3/Emu/RSX/GL/GLShaderInterpreter.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/GL/GLGSRender.cpp b/rpcs3/Emu/RSX/GL/GLGSRender.cpp index 96645e7b56..e32759d181 100644 --- a/rpcs3/Emu/RSX/GL/GLGSRender.cpp +++ b/rpcs3/Emu/RSX/GL/GLGSRender.cpp @@ -176,7 +176,8 @@ void GLGSRender::on_init_thread() rsx_log.warning("Texture barriers are not supported by your GPU. Feedback loops will have undefined results."); } - if (!gl_caps.ARB_bindless_texture_supported) + // NOTE: We currently aren't using the bindless version of the interpreter + if (false) //!gl_caps.ARB_bindless_texture_supported) { switch (shadermode) { diff --git a/rpcs3/Emu/RSX/GL/GLShaderInterpreter.cpp b/rpcs3/Emu/RSX/GL/GLShaderInterpreter.cpp index eb52798140..a2c63b505b 100644 --- a/rpcs3/Emu/RSX/GL/GLShaderInterpreter.cpp +++ b/rpcs3/Emu/RSX/GL/GLShaderInterpreter.cpp @@ -345,7 +345,7 @@ namespace gl std::stringstream builder; builder << "#version 450\n" - "#extension GL_ARB_bindless_texture : require\n\n"; + "//#extension GL_ARB_bindless_texture : require\n\n"; ::glsl::insert_subheader_block(builder); comp.insertConstants(builder);