mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-04-23 10:11:13 +09:00
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:
@@ -1,6 +1,8 @@
|
||||
#ifndef GSR_SHADER_H
|
||||
#define GSR_SHADER_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct gsr_egl gsr_egl;
|
||||
|
||||
typedef struct {
|
||||
@@ -16,4 +18,6 @@ int gsr_shader_bind_attribute_location(gsr_shader *self, const char *attribute,
|
||||
void gsr_shader_use(gsr_shader *self);
|
||||
void gsr_shader_use_none(gsr_shader *self);
|
||||
|
||||
void gsr_shader_enable_debug_output(bool enable);
|
||||
|
||||
#endif /* GSR_SHADER_H */
|
||||
|
||||
Reference in New Issue
Block a user