radv: Squelch possibly-undefined warning
authorEric Anholt <eric@anholt.net>
Tue, 17 Dec 2019 04:00:00 +0000 (20:00 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Feb 2020 23:35:32 +0000 (15:35 -0800)
commit13a276ed3bad09033c00f0a08fcaad803c8a2173
tree90ca9f1f85d9e2e46d023d7bb26638f372fbcafa
parent1427f666dcc24e71d1b5c5c8f6d1d568c3bcf210
radv: Squelch possibly-undefined warning

The same condition is used in the def as in the use, but gcc wasn't
figuring it out.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3867>
src/amd/vulkan/radv_nir_to_llvm.c