mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
intel/fs: reuse set_predicate()
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26306>
This commit is contained in:
parent
83a1657b6c
commit
e22e88f8ce
1 changed files with 3 additions and 3 deletions
|
|
@ -616,10 +616,10 @@ fs_visitor::emit_interpolation_setup_gfx6()
|
||||||
}
|
}
|
||||||
|
|
||||||
for (unsigned j = 0; j < dispatch_width / 8; j++) {
|
for (unsigned j = 0; j < dispatch_width / 8; j++) {
|
||||||
fs_inst *mov =
|
set_predicate(
|
||||||
|
BRW_PREDICATE_NORMAL,
|
||||||
ubld.MOV(brw_vec8_grf(barys[j / 2] + (j % 2) * 2, 0),
|
ubld.MOV(brw_vec8_grf(barys[j / 2] + (j % 2) * 2, 0),
|
||||||
brw_vec8_grf(sample_barys[j / 2] + (j % 2) * 2, 0));
|
brw_vec8_grf(sample_barys[j / 2] + (j % 2) * 2, 0)));
|
||||||
mov->predicate = BRW_PREDICATE_NORMAL;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue