Blender  V3.3
gl_compute.cc
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #include "gl_compute.hh"
8 
9 #include "gl_debug.hh"
10 
11 namespace blender::gpu {
12 
13 void GLCompute::dispatch(int group_x_len, int group_y_len, int group_z_len)
14 {
15  GL_CHECK_RESOURCES("Compute");
16 
17  glDispatchCompute(group_x_len, group_y_len, group_z_len);
18 }
19 
20 } // namespace blender::gpu
static void dispatch(int group_x_len, int group_y_len, int group_z_len)
Definition: gl_compute.cc:13
#define GL_CHECK_RESOURCES(info)
Definition: gl_debug.hh:67