mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
692dc9f6a9
- gl.c: refactor backend fallback into more general gl2_get_fallback_shader_type - d3d9-12, gl_core, gx2_gfx, gl, vulkan: more consistent shader init and `set_shader` behavior - configuration.c: remove check_shader_compatibility - shader_glsl.c, shader_gl_cg.c: use `video_shader_get_type_from_ext` - shader_gl_cg.c: add shader type check with fallback to stock like in shader_glsl.c - menu_shader.c: use `enum rarch_shader_type` instead of `unsigned` - video_shader_parse.c: add `video_shader_to_str` for easier logging - remove `type` from `struct video_shader`, which was always set to CG and wrongly used in lang_process.cpp's `slang_process()` (has no further consequences because the code is unused)