From 46de3beab1f4145d23567f95db4e5e4c5adbe5db Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Sun, 9 Jun 2019 20:56:09 -0700 Subject: 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 Reviewed-by: Kenneth Graunke --- src/gallium/docs/source/screen.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/docs/source/screen.rst') 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: -- cgit v1.2.3