History log of /external/mesa3d/src/mesa/main/compute.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
45ab63c0cb274b20a7ae1f390b123e13a5b46c98 07-Sep-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> mesa/main: add support for ARB_compute_variable_groups_size

v5: - replace fixed_local_size by !LocalSizeVariable (Nicolai)
v4: - slightly indent spec quotes (Nicolai)
- drop useless _mesa_has_compute_shaders() check (Nicolai)
- move the fixed local size outside of the loop (Nicolai)
- add missing check for invalid use of work group count
v2: - update formatting spec quotations (Ian)
- move the total_invocations check outside of the loop (Ian)

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/main/compute.c
a063f3084acfaf9a63ab8af004d94c592b19b8a0 06-Sep-2016 Samuel Pitoiset <samuel.pitoiset@gmail.com> 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>
/external/mesa3d/src/mesa/main/compute.c
f28d80fabfca97b24b3e716e8fb1836abdc32643 16-Feb-2016 Jordan Justen <jordan.l.justen@intel.com> mesa: Don't call driver when there is no compute work

The ARB_compute_shader spec says:

"If the work group count in any dimension is zero, no work groups
are dispatched."

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/main/compute.c
83018f5c20a2a1b48f88704a25ebb8410b2f9c71 30-Sep-2015 Rhys Kidd <rhyskidd@gmail.com> mesa: Fix format specifier warning in mesa_DispatchComputeIndirect()

Commit 1665d29ee3125743fd6daf3c43fc715f543d5669 introduced an incorrect
format specifier that operates on GLintptr indirect within the function
_mesa_DispatchComputeIndirect().

This patch mitigates the introduced GCC warning:

src/mesa/main/compute.c: In function '_mesa_DispatchComputeIndirect':
src/mesa/main/compute.c:53:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'GLintptr' [-Wformat=]
_mesa_debug(ctx, "glDispatchComputeIndirect(%d)\n", indirect);
^

v2: Amend for Boyan Ding <boyan.j.ding@gmail.com> feedback.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/compute.c
1665d29ee3125743fd6daf3c43fc715f543d5669 24-Sep-2015 Jordan Justen <jordan.l.justen@intel.com> mesa/cs: Add MESA_VERBOSE=api support in DispatchCompute*

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/compute.c
d11d018ce38b76a580242d64e61e8e30dad035e8 17-Sep-2015 Jordan Justen <jordan.l.justen@intel.com> mesa/cs: Implement glDispatchComputeIndirect

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/compute.c
4a1ba7e6bd3ddcab4647a1382d14165a08c0d3b0 17-Sep-2015 Jordan Justen <jordan.l.justen@intel.com> mesa/cs: Add _mesa_validate_DispatchCompute

Move API validation to _mesa_validate_DispatchCompute in
api_validate.c.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/mesa/main/compute.c
8f1423b2c484de358bad6cee548f630d87d145da 10-Jan-2014 Paul Berry <stereotype441@gmail.com> main/cs: Implement front end code for glDispatchCompute().

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/compute.c
79134cb51609724cc4d94ade12dc52a09e2e91db 07-Jan-2014 Paul Berry <stereotype441@gmail.com> mesa/cs: Add dispatch API stubs for ARB_compute_shader.

Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/main/compute.c