mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 19:28:11 +02:00
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:
parent
4307f42b9e
commit
d2f4b2d8e9
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue