mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 17:30:20 +01:00
r600g/llvm: Add support for native isa for pre EG
This fixes bug 62756 : https://bugs.freedesktop.org/show_bug.cgi?id=62756#c12
This commit is contained in:
parent
eff66bc9f8
commit
5019af2145
2 changed files with 6 additions and 2 deletions
|
|
@ -1494,7 +1494,11 @@ static int r600_bytecode_cf_build(struct r600_bytecode *bc, struct r600_bytecode
|
|||
const struct cf_op_info *cfop = r600_isa_cf(cf->op);
|
||||
unsigned opcode = r600_isa_cf_opcode(bc->isa->hw_class, cf->op);
|
||||
|
||||
if (cfop->flags & CF_ALU) {
|
||||
|
||||
if (cf->op == CF_NATIVE) {
|
||||
bc->bytecode[id++] = cf->isa[0];
|
||||
bc->bytecode[id++] = cf->isa[1];
|
||||
} else if (cfop->flags & CF_ALU) {
|
||||
bc->bytecode[id++] = S_SQ_CF_ALU_WORD0_ADDR(cf->addr >> 1) |
|
||||
S_SQ_CF_ALU_WORD0_KCACHE_MODE0(cf->kcache[0].mode) |
|
||||
S_SQ_CF_ALU_WORD0_KCACHE_BANK0(cf->kcache[0].bank) |
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
@178928
|
||||
@179020
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue