diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-29 15:38:05 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-29 15:38:05 +0100 |
commit | b8a521a785e1c40ef247e6536f284afd9e39922a (patch) | |
tree | 5776bf16deb9f4e18cf744d474e0d1f0dc19c081 /include/shader.h | |
parent | f85a7ab2055ddc8e2231a380f0c46e29e42c2072 (diff) |
Reapply "WIP: use compute shader instead of graphics shader for better performance (especially on amd)"
This reverts commit f85a7ab2055ddc8e2231a380f0c46e29e42c2072.
Diffstat (limited to 'include/shader.h')
-rw-r--r-- | include/shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/shader.h b/include/shader.h index 57d1096..8bc1104 100644 --- a/include/shader.h +++ b/include/shader.h @@ -9,7 +9,7 @@ typedef struct { } gsr_shader; /* |vertex_shader| or |fragment_shader| may be NULL */ -int gsr_shader_init(gsr_shader *self, gsr_egl *egl, const char *vertex_shader, const char *fragment_shader); +int gsr_shader_init(gsr_shader *self, gsr_egl *egl, const char *vertex_shader, const char *fragment_shader, const char *compute_shader); void gsr_shader_deinit(gsr_shader *self); int gsr_shader_bind_attribute_location(gsr_shader *self, const char *attribute, int location); |