ac/nir: fix txf_ms with an offset
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 19 Jul 2019 14:20:44 +0000 (15:20 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 29 Jul 2019 10:50:13 +0000 (11:50 +0100)
commita9f58af4549b522f64950152c0180228471b8520
treee2140267d3a5794d3b44fa961873dd612b02de94
parenta69ab1b7d2a7b34188f38c5e130abd264518b8ad
ac/nir: fix txf_ms with an offset

Seems to fix some hair artifacts in Max Payne 3:
https://github.com/daniel-schuermann/mesa/issues/76

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: f4e499ec791 ('radv: add initial non-conformant radv vulkan driver')
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_nir_to_llvm.c