radv: Move radv_optimize_nir_algebraic to a separate function.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 5 Jul 2021 07:05:43 +0000 (09:05 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Thu, 8 Jul 2021 14:54:29 +0000 (16:54 +0200)
commitfd64c18214fa77efad45ae73a3c38627839492e0
tree943f2805909eecfb9a40dfc1355b4d823072dade
parent00d11c2065c2a9d52a59ba095a9fe4ef55a132d6
radv: Move radv_optimize_nir_algebraic to a separate function.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11711>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h