diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-29 15:37:53 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-29 15:37:53 +0100 |
commit | f85a7ab2055ddc8e2231a380f0c46e29e42c2072 (patch) | |
tree | 33cf9c1d086f3bd8332e36e97c73f793f18db11e /include/shader.h | |
parent | a41a32cb9079dc3c78414b7b0cdc68243333020d (diff) |
Revert "WIP: use compute shader instead of graphics shader for better performance (especially on amd)"
This reverts commit a41a32cb9079dc3c78414b7b0cdc68243333020d.
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 8bc1104..57d1096 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, const char *compute_shader); +int gsr_shader_init(gsr_shader *self, gsr_egl *egl, const char *vertex_shader, const char *fragment_shader); void gsr_shader_deinit(gsr_shader *self); int gsr_shader_bind_attribute_location(gsr_shader *self, const char *attribute, int location); |