gallium: add PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 30 Aug 2018 09:04:17 +0000 (11:04 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 5 Sep 2018 04:46:37 +0000 (05:46 +0100)
commitd641d3f48bcf9a1c626cc755c576abd00b81b988
treec8658866258ef67acb6e84a37b882f74cbc0e92c
parent84795f8c6495511e20fa63faf592169cc3baa01c
gallium: add PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS

This gets rid of a r600 specific hack in the state-tracker, and prepares
for other drivers to be able to use hw-atomics.

While we're at it, clean up some indentation in the various drivers.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/drivers/r600/r600_pipe.c
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_extensions.c