GLDISPATCHCOMPUTE(3G) OpenGL Manual GLDISPATCHCOMPUTE(3G)NAME
glDispatchCompute - launch one or more compute work groups
C SPECIFICATION
void glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
PARAMETERS
num_groups_x
The number of work groups to be launched in the X dimension.
num_groups_y
The number of work groups to be launched in the Y dimension.
num_groups_z
The number of work groups to be launched in the Z dimension.
DESCRIPTION
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 unspecified order. num_groups_x, num_groups_y and num_groups_z specify the number of local work groups that will be
dispatched in the X, Y and Z dimensions, respectively.
ERRORS
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_x, num_groups_y, or num_groups_z is greater than or equal to the maximum work-group
count for the corresponding dimension.
ASSOCIATED GETS
glGet() with argument GL_MAX_COMPUTE_WORK_GROUP_COUNT
SEE ALSO
glDispatchComputeIndirect().
COPYRIGHT
Copyright (C) 2012 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/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLDISPATCHCOMPUTE(3G)
Check Out this Related Man Page
GLGETUNIFORMSUBROUTI(3G) OpenGL Manual GLGETUNIFORMSUBROUTI(3G)NAME
glGetUniformSubroutine - retrieve the value of a subroutine uniform of a given shader stage of the current program
C SPECIFICATION
void glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *values);
PARAMETERS
shadertype
Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER,
GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER.
location
Specifies the location of the subroutine uniform.
values
Specifies the address of a variable to receive the value or values of the subroutine uniform.
DESCRIPTION
glGetUniformSubroutine retrieves the value of the subroutine uniform at location location for shader stage shadertype of the current
program. location must be less than the value of GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS for the shader currently in use at shader stage
shadertype. The value of the subroutine uniform is returned in values.
ERRORS
GL_INVALID_ENUM is generated if shadertype is not one of the accepted values.
GL_INVALID_VALUE is generated if location is greater than or equal to the value of GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS for the shader
currently in use at shader stage shadertype.
GL_INVALID_OPERATION is generated if no program is active.
SEE ALSO
glGetProgram(), glGetActiveSubroutineUniform(), glGetActiveSubroutineUniformName(), glGetUniformLocation()
COPYRIGHT
Copyright (C) 2010 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/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLGETUNIFORMSUBROUTI(3G)
Hi there,
First, must said sorry for my bad english : hope to be understood.
I work on HP-UX and need to work with specific processus.
In order to migrate to other system with the less work as possible (portability) i must write a script that verify if a processus B is a son of a processus A.... (0 Replies)
Hi
If I have to download a file from the ftp server ftp.download.com for example to a solaris box. I know the directory the file is in and everything, but I am not sure how to get the file. usually, I use the command ftp <server name> and I connect, then I use the get or put command and all... (7 Replies)
Lo guys, I've just started a new department in work and I'm going to be using HP-UX with Vi. The problem is I'm completely new to UNIX, I'm currently learning at work but I only have limited amounts of time on our dev systems. Is it possible to get a free/educational version any where? I don't... (4 Replies)