gallium: Add PIPE_CAP_CS_DERIVED_SYSTEM_VALUES_SUPPORTED
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Mon, 10 Jun 2019 03:56:09 +0000 (20:56 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 11 Jun 2019 22:12:17 +0000 (15:12 -0700)
commit46de3beab1f4145d23567f95db4e5e4c5adbe5db
tree4d17927713aa60ca185f48ecbd0310e710d2164f
parentf03b21ae6982e6cb9a6240532f3f721c7d80a8fb
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>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_extensions.c