From 5029906c344ea39c13c9875d89da0f6b4a8595aa Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 6 Apr 2025 21:52:15 +0200 Subject: Fallback to graphics shader instead of compute shader if the gpu doesn't support compute shader (either glsl 420 or opengl es glsl 310) --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 6b3683a..b5f95db 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3706,6 +3706,11 @@ int main(int argc, char **argv) { _exit(1); } + gsr_shader_enable_debug_output(gl_debug); +#ifndef NDEBUG + gsr_shader_enable_debug_output(true); +#endif + if(egl.gpu_info.is_steam_deck) { fprintf(stderr, "gsr warning: steam deck has multiple driver issues. One of them has been reported here: https://github.com/ValveSoftware/SteamOS/issues/1609\n" "If you have issues with GPU Screen Recorder on steam deck that you don't have on a desktop computer then report the issue to Valve and/or AMD.\n"); -- cgit v1.2.3-70-g09d2