turnip: Use tu6_reduction_mode() to avoid warning
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 22 May 2020 20:57:53 +0000 (13:57 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Tue, 26 May 2020 19:46:18 +0000 (12:46 -0700)
commit697fe1c8015d14b6d2ebc5ba70cd05439ef1490e
tree03746b3a696f2719329e76a77f47a015bb64ae2d
parentfff17707ea959f8fd6098e3a154a8574f4912a85
turnip: Use tu6_reduction_mode() to avoid warning

This makes it a little more explicit that the values line up.

src/freedreno/vulkan/tu_device.c:2209:75: warning: implicit conversion
from enumeration type 'const VkSamplerReductionMode' (aka 'const enum
VkSamplerReductionMode') to different enumeration type 'enum
a6xx_reduction_mode' [-Wenum-conversion]

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5174>
src/freedreno/vulkan/tu_device.c