gallium: add hw atomic buffer binding API.
authorDave Airlie <airlied@redhat.com>
Wed, 1 Nov 2017 04:17:49 +0000 (14:17 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Nov 2017 22:39:35 +0000 (08:39 +1000)
commitcca5617348ad2544f2cf8e201828de3fa942df3c
tree10a86b26415ffb1ea5a49cfbdfb6596ed4cc8429
parent4b0b82770aad9581ee2df2dd01d63c51b28e7656
gallium: add hw atomic buffer binding API.

This API binds atomic buffers for all bound shaders (as per the
GL semantics).

This is needed to support cross shader hw atomic counters.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-By: Gert Wollny <gw.fossdev@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/docs/source/context.rst
src/gallium/include/pipe/p_context.h