r600g: Fix missing SET_TEXTURE_OFFSETS
authorGlenn Kennard <glenn.kennard@gmail.com>
Sun, 17 Aug 2014 20:26:19 +0000 (22:26 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 19 Aug 2014 14:30:13 +0000 (16:30 +0200)
commitdfa10ed2640a350a84e6e31edd22560155cd5016
tree1fe5c1378d50b757ab4446de2944239bd092e451
parentef1cf69cd34701ea005a244909c71357a3dddb06
r600g: Fix missing SET_TEXTURE_OFFSETS

SB needs a bit of special handling to handle
instructions without obvious side effects, to
avoid it deleting them.

Fixes failing non-const ARB_gpu_shader5
textureOffsets piglits with sb enabled.

Signed-off-by: Glenn Kennard <glenn.kennard@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_isa.h
src/gallium/drivers/r600/sb/sb_bc_finalize.cpp
src/gallium/drivers/r600/sb/sb_bc_parser.cpp
src/gallium/drivers/r600/sb/sb_pass.h