zink: port over to nir_op_ffma_weak

Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41165>
This commit is contained in:
Karol Herbst 2026-04-23 16:53:02 +02:00 committed by Marge Bot
parent 4307f42b9e
commit d2f4b2d8e9

View file

@ -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));