vulkan: avoid needless constant-folding
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 16 Jun 2023 10:51:36 +0000 (12:51 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 29 Jun 2023 07:08:18 +0000 (07:08 +0000)
commitc69dc017965fd5bc14dacb60d1c7b7b942d160c2
tree5fd3ae38782fcf68846dbcd30edd2ccb3056cf7b
parent195399f857f4ee3203255e512df638bef0f1e669
vulkan: avoid needless constant-folding

While we're at it, also switch to the nir_f{add,mul}_imm helpers.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23855>
src/vulkan/runtime/vk_nir_convert_ycbcr.c