summaryrefslogtreecommitdiff
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>2019-06-09 20:56:09 -0700
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>2019-06-11 15:12:17 -0700
commit46de3beab1f4145d23567f95db4e5e4c5adbe5db (patch)
tree4d17927713aa60ca185f48ecbd0310e710d2164f /src/gallium/docs
parentf03b21ae6982e6cb9a6240532f3f721c7d80a8fb (diff)
downloadmesa-46de3beab1f4145d23567f95db4e5e4c5adbe5db.tar.gz
gallium: Add PIPE_CAP_CS_DERIVED_SYSTEM_VALUES_SUPPORTED
Tells whether or not the driver can handle gl_LocalInvocationIndex and gl_GlobalInvocationID. If not supported (the default), state tracker will lower those on behalf of the driver. v2: Add case to u_screen.c. (Anholt) Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/screen.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index 70810418f8a..fd8b7a9f68c 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -528,6 +528,9 @@ The integer capabilities:
OpenMAX should use a compute-based blit instead of pipe_context::blit.
* ``PIPE_CAP_FRAGMENT_SHADER_INTERLOCK``: True if fragment shader interlock
functionality is supported.
+* ``PIPE_CAP_CS_DERIVED_SYSTEM_VALUES_SUPPORTED``: True if driver handles
+ gl_LocalInvocationIndex and gl_GlobalInvocationID. Otherwise, state tracker will
+ lower those system values.
.. _pipe_capf: