radv: Call nir_propagate_invariant()
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 5 Sep 2019 11:57:11 +0000 (13:57 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Thu, 5 Sep 2019 12:05:46 +0000 (14:05 +0200)
commit3f5b541fc8b2aae6e71783b7a9bb8eb2ffa3a74d
treed92fc6c81659aef5963b9fb0f921cf09b583e99b
parent2f5783bc2b82d6d300070d98b88ee6a53d093504
radv: Call nir_propagate_invariant()

Without this, invariant qualifiers don't do anything. Together with a
fix to the game, this fixes flickering in No Man's Sky.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_shader.c