Fallback to graphics shader instead of compute shader if the gpu doesn't support compute shader (either glsl 420 or opengl es glsl 310)

This commit is contained in:
dec05eba
2025-04-06 21:52:15 +02:00
parent 9de04e74ea
commit 5029906c34
6 changed files with 552 additions and 123 deletions

View File

@@ -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");