glDispatchCompute — launch one or more compute work groups
The number of work groups to be launched in the X dimension.
The number of work groups to be launched in the Y dimension.
The number of work groups to be launched in the Z dimension.
glDispatchCompute launches one or more compute
work groups. Each work group is processed by the active program object for the compute
shader stage. While the individual shader invocations within a work group are
executed as a unit, work groups are executed completely independently and in
num_groups_z specify the number of local
work groups that will be dispatched in the X, Y and Z dimensions, respectively.
GL_INVALID_OPERATION is generated if there is no active program
for the compute shader stage.
GL_INVALID_VALUE is generated if any of
num_groups_z is greater than or
equal to the maximum work-group count for the corresponding dimension.
glGet with argument
|OpenGL ES API Version|
Copyright © 2012-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.