r600g: merge the TXQ and BUFFER constant buffers (v1.1)
authorDave Airlie <airlied@redhat.com>
Mon, 24 Nov 2014 02:53:40 +0000 (12:53 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 27 Nov 2014 00:31:38 +0000 (10:31 +1000)
commit07ae69753c6818bcce5d4edaf2cca39c20e37f4c
tree94119bf2ec201d83c630943cc0921dabe5de2150
parentbc5f5424e3a8cf0cd0a07bcf3d85670735a49f41
r600g: merge the TXQ and BUFFER constant buffers (v1.1)

We are using 1 more buffer than we have, although in the future the
driver should just end up using one buffer in total probably, this
is a good first step, it merges the txq cube array and buffer info
constants on r600 and evergreen.

This should in theory fix geom shader tests on r600.

v1.1: fix comments from Glenn.

Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
Cc: "10.4 10.3" <mesa-stable@lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_state_common.c