ac/radv: cleanup some tcs output values access
authorDave Airlie <airlied@redhat.com>
Mon, 19 Feb 2018 06:19:07 +0000 (06:19 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 21 Feb 2018 00:01:23 +0000 (00:01 +0000)
commit77fd1b9187a3aec665257ced5e58fae6fc89290f
tree6a3fbf2cfb878505fde0a48da5a6411b89792722
parent0e6f0d400b9078262844de6664f5f83f6566b567
ac/radv: cleanup some tcs output values access

Just consolidates some code to make it easier to change.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c