radv/ac: Use base in push constant loads.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 28 Jan 2017 00:32:20 +0000 (01:32 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 28 Jan 2017 02:07:39 +0000 (03:07 +0100)
commit96c60b7f07e626d9ca0fc5789117f0c725ba1da2
tree0b09dbd40337f39237dfe65840b7bb10b0ecb033
parente8047980d2814198988e9124036f702c4518df8b
radv/ac: Use base in push constant loads.

Apparently the source is not an address but an offset, so we actually
need to use the base.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
CC: <mesa-stable@lists.freedesktop.org>
src/amd/common/ac_nir_to_llvm.c