tgsi: simplify tgsi_shader_info::is_msaa_sampler checking
authorBrian Paul <brianp@vmware.com>
Tue, 29 Mar 2016 17:43:02 +0000 (11:43 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 30 Mar 2016 00:13:46 +0000 (18:13 -0600)
commit5c85c3be26566711a3bdf27df4f9fb07b126882d
treecf004696fdfdf5369eb1338953c476b262f3e599
parent86e1768c13d67945f4a9549820e711b70ff2aba7
tgsi: simplify tgsi_shader_info::is_msaa_sampler checking

We assert that fullinst->Instruction.Texture != 0 above so no need to
check it in the conditional.  We also have the fullinst->Texture.Texture
value in a local variable, so use it.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c