Improving parallelism in fragment shader leading to more than 20x the framerate

This commit is contained in:
2019-12-26 23:07:03 +02:00
parent 2e6ddd2ff2
commit 6cef4df543
6 changed files with 48 additions and 27 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ extern const char* fragment_shader_kernel_source;
void init_kernels();
void vertex_shader(float* z, float* vertices, int vertex_count, float* new_vertices);
void fragment_shader(
int* faces,
cl_int3* faces,
int nfaces,
float* uv,
size_t uv_size,