aco: remove useless check for nir_tex_src_bias
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 May 2020 13:23:52 +0000 (15:23 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 10:05:44 +0000 (10:05 +0000)
commit47a769143be8f81e01a70467d51142d36597847f
tree920e379b3a5eb69babb581bb167463d3adeaff8c
parent0f46a3191ff31a89d6969a67f8b50dbedf085dca
aco: remove useless check for nir_tex_src_bias

I think only nir_texop_txb can have a bias operand anyways.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4989>
src/amd/compiler/aco_instruction_selection.cpp