17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-06 19:48:35 +01:00

Add SSBO and compute shader support to gl wrappers

This commit is contained in:
2026-10-15 12:13:44 +02:00
parent 39d5df2ef3
commit 677a96c293
9 changed files with 203 additions and 0 deletions

View File

@@ -94,6 +94,9 @@ namespace gl
void attach(const shader &);
void link();
// for a program linked from a compute shader only: binds it and runs the given number of work groups
void dispatch(GLuint groups_x, GLuint groups_y = 1, GLuint groups_z = 1);
std::unordered_map<std::string, shader::texture_entry> texture_conf;
std::unordered_map<std::string, shader::param_entry> param_conf;