r600: refactor binding code for attach buffer to CB.
authorDave Airlie <airlied@redhat.com>
Thu, 31 Mar 2016 05:33:16 +0000 (15:33 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Mar 2017 04:33:26 +0000 (14:33 +1000)
commit686d06045805fae9d17f9354edb4c6301c260f07
treed6cbe7ef289574bde86fba21c58ae265acad9143
parent222e42e45fc1e91e707343a7e6a32c6bd725eb10
r600: refactor binding code for attach buffer to CB.

This refactors out the code and fixes it up to be used
for images later. It uses the code in the current RAT binding
for compute.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c