gallium: add a new cap PIPE_CAP_GLSL_ZERO_INIT
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 24 Apr 2020 16:14:40 +0000 (18:14 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 5 May 2020 10:26:02 +0000 (12:26 +0200)
commit0ee1a724bf78baa3fe514036d77d3e96abc998f7
tree704ade77e87072aceba4383802ee66dd1ddc131a
parentea289d1502dc5739ec9bf69328c037b72dc02789
gallium: add a new cap PIPE_CAP_GLSL_ZERO_INIT

Allows driver to select a zero init mode between the 3 possible values.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4607>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/drivers/radeonsi/si_get.c
src/gallium/include/pipe/p_defines.h
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_extensions.c