diff options
author | Francisco Jerez <[email protected]> | 2019-08-25 17:52:54 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2019-10-11 12:24:16 -0700 |
commit | 9fdb67aa0979418069f241f20584c9913e65f302 (patch) | |
tree | 358296f443f670e8537477600707134c1e4f9851 /src | |
parent | 6cb764ae9cd0e6b533699f7e55cec401c10907b7 (diff) |
intel/eu/gen12: Fix codegen of immediate source regions.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_eu_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_eu_emit.c b/src/intel/compiler/brw_eu_emit.c index 609edaffdc3..d841dd0a432 100644 --- a/src/intel/compiler/brw_eu_emit.c +++ b/src/intel/compiler/brw_eu_emit.c @@ -240,7 +240,7 @@ brw_set_src0(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) else brw_inst_set_imm_ud(devinfo, inst, reg.ud); - if (type_sz(reg.type) < 8) { + if (devinfo->gen < 12 && type_sz(reg.type) < 8) { brw_inst_set_src1_reg_file(devinfo, inst, BRW_ARCHITECTURE_REGISTER_FILE); brw_inst_set_src1_reg_hw_type(devinfo, inst, |