projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cb764a
)
intel/eu/gen12: Fix codegen of immediate source regions.
author
Francisco Jerez
<currojerez@riseup.net>
Mon, 26 Aug 2019 00:52:54 +0000
(17:52 -0700)
committer
Francisco Jerez
<currojerez@riseup.net>
Fri, 11 Oct 2019 19:24:16 +0000
(12:24 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_eu_emit.c
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_eu_emit.c
b/src/intel/compiler/brw_eu_emit.c
index 609edaffdc3b6e65725202bb963f1729d4741aba..d841dd0a432a87b211a870269b10262c3587708f 100644
(file)
--- 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,