From d2f4b2d8e915a95a0c703570d313d976a63b655d Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 23 Apr 2026 16:53:02 +0200 Subject: [PATCH] zink: port over to nir_op_ffma_weak Reviewed-by: Georg Lehmann Part-of: --- src/gallium/drivers/zink/zink_compiler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/zink/zink_compiler.c b/src/gallium/drivers/zink/zink_compiler.c index 46af5a23876..f31211b7f1e 100644 --- a/src/gallium/drivers/zink/zink_compiler.c +++ b/src/gallium/drivers/zink/zink_compiler.c @@ -246,8 +246,8 @@ lower_gl_point_gs_instr(nir_builder *b, nir_instr *instr, void *data) for (size_t i = 0; i < 4; i++) { pos = nir_vec4(b, - nir_ffma_old(b, half_w_delta, point_dir[i][0], point_pos_x), - nir_ffma_old(b, half_h_delta, point_dir[i][1], point_pos_y), + nir_ffma_weak(b, half_w_delta, point_dir[i][0], point_pos_x), + nir_ffma_weak(b, half_h_delta, point_dir[i][1], point_pos_y), nir_channel(b, point_pos, 2), nir_channel(b, point_pos, 3));