diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-09 20:56:09 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-11 15:12:17 -0700 |
commit | 46de3beab1f4145d23567f95db4e5e4c5adbe5db (patch) | |
tree | 4d17927713aa60ca185f48ecbd0310e710d2164f /src/gallium/docs/source/screen.rst | |
parent | f03b21ae6982e6cb9a6240532f3f721c7d80a8fb (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/screen.rst')
-rw-r--r-- | src/gallium/docs/source/screen.rst | 3 |
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: |