Improving parallelism in fragment shader leading to more than 20x the framerate
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user