summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/compiler/brw_inst.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_inst.h b/src/intel/compiler/brw_inst.h
index cc01b4e5a70..dd5ea44c993 100644
--- a/src/intel/compiler/brw_inst.h
+++ b/src/intel/compiler/brw_inst.h
@@ -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 {