r600/eg: construct proper rat mask for image/buffers.
authorDave Airlie <airlied@redhat.com>
Fri, 19 Jan 2018 03:20:36 +0000 (13:20 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 28 Jan 2018 19:41:58 +0000 (05:41 +1000)
commite0e23ea69cab23b9193b1e7c568fd23fc7073071
tree765b4053b5d3e6bc082af2f5b5239610a6e2ff50
parent4a0bab1d7f942ad0ac9b98ab34e6a9e4694f3c04
r600/eg: construct proper rat mask for image/buffers.

If the images/buffer bindings had a gap, this produced the wrong values,
this should fix that to generate the correct rat mask for mixes of
images/buffers/cbs.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Cc: "18.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_compute.c
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h