ac/nir: clean up a hack about rounding 2nd coord component
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 26 Feb 2018 13:05:05 +0000 (14:05 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 27 Feb 2018 09:09:27 +0000 (10:09 +0100)
commita549da877bcf641b3ef2d915d551cd49fb3f300e
tree85a542b54be21b12318d1f9f5bc7d013f32f9889
parente683a797c6881ddb3b07cad8fdb84f77c6655c95
ac/nir: clean up a hack about rounding 2nd coord component

It's basically just the opposite, and it only makes sense to
round the layer for 2D texture arrays.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c