mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
intel/eu/gen12: Implement control flow instruction binary encoding.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
956c156dc4
commit
d24b8af23d
1 changed files with 6 additions and 0 deletions
|
|
@ -532,6 +532,9 @@ brw_inst_set_uip(const struct gen_device_info *devinfo,
|
|||
{
|
||||
assert(devinfo->gen >= 6);
|
||||
|
||||
if (devinfo->gen >= 12)
|
||||
brw_inst_set_src1_is_imm(devinfo, inst, 1);
|
||||
|
||||
if (devinfo->gen >= 8) {
|
||||
brw_inst_set_bits(inst, 95, 64, (uint32_t)value);
|
||||
} else {
|
||||
|
|
@ -559,6 +562,9 @@ brw_inst_set_jip(const struct gen_device_info *devinfo,
|
|||
{
|
||||
assert(devinfo->gen >= 6);
|
||||
|
||||
if (devinfo->gen >= 12)
|
||||
brw_inst_set_src0_is_imm(devinfo, inst, 1);
|
||||
|
||||
if (devinfo->gen >= 8) {
|
||||
brw_inst_set_bits(inst, 127, 96, (uint32_t)value);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue