radeonsi: emit TXQ in separate functions
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 12 May 2016 16:52:36 +0000 (11:52 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 17 May 2016 20:28:40 +0000 (15:28 -0500)
commit988fd6c922b1547ff0961b6fdf5736709b4d9cd9
tree75bbb2541c71d0473fca515b9cc1a679f72fd019
parentd464bfd12abbd8563ed5885da717512a0e032eb7
radeonsi: emit TXQ in separate functions

TXQ is sufficiently different that having in it in the same code path as
texture sampling/fetching opcodes doesn't make much sense.

v2: guard against NULL pointer dereferences

Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
src/gallium/drivers/radeonsi/si_shader.c