projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9032f06
)
freedreno/ir3: more emit-cat5 fixes
author
Rob Clark
<robdclark@chromium.org>
Wed, 17 Apr 2019 23:24:15 +0000
(16:24 -0700)
committer
Rob Clark
<robdclark@chromium.org>
Thu, 25 Apr 2019 21:13:31 +0000
(14:13 -0700)
Couple more opcodes which don't take a sampler id as first arg.
Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/ir3/ir3.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3.c
b/src/freedreno/ir3/ir3.c
index 8c7410a82132d42e9685a40b97d173a737b5e1b7..2bb235e3c2360a1141feb17e40f1701cb42bab09 100644
(file)
--- a/
src/freedreno/ir3/ir3.c
+++ b/
src/freedreno/ir3/ir3.c
@@
-464,6
+464,8
@@
static int emit_cat5(struct ir3_instruction *instr, void *ptr,
case OPC_DSXPP_1:
case OPC_DSY:
case OPC_DSYPP_1:
+ case OPC_RGETPOS:
+ case OPC_RGETINFO:
iassert((instr->flags & IR3_INSTR_S2EN) == 0);
src1 = instr->regs[1];
src2 = instr->regs_count > 2 ? instr->regs[2] : NULL;