13 .local_group_size(16, 16, 1)
14 .push_constant(Type::INT,
"elements_per_curve")
15 .push_constant(Type::INT,
"ncurves")
16 .storage_buf(0, Qualifier::WRITE,
"uint",
"out_indices[]")
17 .compute_source(
"gpu_shader_index_2d_array_points.glsl")
18 .do_static_compilation(
true);
21 .local_group_size(16, 16, 1)
22 .push_constant(Type::INT,
"elements_per_curve")
23 .push_constant(Type::INT,
"ncurves")
24 .storage_buf(0, Qualifier::WRITE,
"uint",
"out_indices[]")
25 .compute_source(
"gpu_shader_index_2d_array_lines.glsl")
26 .do_static_compilation(
true);
29 .local_group_size(16, 16, 1)
30 .push_constant(Type::INT,
"elements_per_curve")
31 .push_constant(Type::INT,
"ncurves")
32 .storage_buf(0, Qualifier::WRITE,
"uint",
"out_indices[]")
33 .compute_source(
"gpu_shader_index_2d_array_tris.glsl")
34 .do_static_compilation(
true);
#define GPU_SHADER_CREATE_INFO(_info)