diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2016-09-06 16:23:58 +0200 |
---|---|---|
committer | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2016-10-07 00:18:57 +0200 |
commit | a063f3084acfaf9a63ab8af004d94c592b19b8a0 (patch) | |
tree | 9d315569b5cbcb16eafdb5f6be969de0de842177 /src/mesa/main | |
parent | f96945c5b5c3a52685e76795f03f75c75fb62fc7 (diff) | |
download | external_mesa3d-a063f3084acfaf9a63ab8af004d94c592b19b8a0.zip external_mesa3d-a063f3084acfaf9a63ab8af004d94c592b19b8a0.tar.gz external_mesa3d-a063f3084acfaf9a63ab8af004d94c592b19b8a0.tar.bz2 |
glapi: add entry points for GL_ARB_compute_variable_group_size
v2: - correctly sort that new extension (Ian)
- fix up the comment (Ian)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/compute.c | 8 | ||||
-rw-r--r-- | src/mesa/main/compute.h | 5 | ||||
-rw-r--r-- | src/mesa/main/tests/dispatch_sanity.cpp | 3 |
3 files changed, 16 insertions, 0 deletions
diff --git a/src/mesa/main/compute.c b/src/mesa/main/compute.c index b71430f..b052bae 100644 --- a/src/mesa/main/compute.c +++ b/src/mesa/main/compute.c @@ -60,3 +60,11 @@ _mesa_DispatchComputeIndirect(GLintptr indirect) ctx->Driver.DispatchComputeIndirect(ctx, indirect); } + +void GLAPIENTRY +_mesa_DispatchComputeGroupSizeARB(GLuint num_groups_x, GLuint num_groups_y, + GLuint num_groups_z, GLuint group_size_x, + GLuint group_size_y, GLuint group_size_z) +{ + +} diff --git a/src/mesa/main/compute.h b/src/mesa/main/compute.h index 0cc034f..8018bbb 100644 --- a/src/mesa/main/compute.h +++ b/src/mesa/main/compute.h @@ -35,4 +35,9 @@ _mesa_DispatchCompute(GLuint num_groups_x, extern void GLAPIENTRY _mesa_DispatchComputeIndirect(GLintptr indirect); +extern void GLAPIENTRY +_mesa_DispatchComputeGroupSizeARB(GLuint num_groups_x, GLuint num_groups_y, + GLuint num_groups_z, GLuint group_size_x, + GLuint group_size_y, GLuint group_size_z); + #endif diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index 0d3b6ab..3fdd80a 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -942,6 +942,9 @@ const struct function common_desktop_functions_possible[] = { { "glDispatchCompute", 43, -1 }, { "glDispatchComputeIndirect", 43, -1 }, + /* GL_ARB_compute_variable_group_size */ + { "glDispatchComputeGroupSizeARB", 43, -1 }, + /* GL_EXT_polygon_offset_clamp */ { "glPolygonOffsetClampEXT", 11, -1 }, |