projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d982ae
)
r600/eg: make sure we allow vpm bit on other CF ops.
author
Dave Airlie
<airlied@redhat.com>
Thu, 1 Feb 2018 02:00:39 +0000
(12:00 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 1 Feb 2018 03:41:32 +0000
(13:41 +1000)
the vpm bit wasn't being applied to the push/pop instructions.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/eg_asm.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/eg_asm.c
b/src/gallium/drivers/r600/eg_asm.c
index f8651bdff58e936864a0f655e3b15150fcbb066d..c03a9d84da497db23f2568353187470421aaf683 100644
(file)
--- a/
src/gallium/drivers/r600/eg_asm.c
+++ b/
src/gallium/drivers/r600/eg_asm.c
@@
-137,6
+137,7
@@
int eg_bytecode_cf_build(struct r600_bytecode *bc, struct r600_bytecode_cf *cf)
/* other instructions */
bc->bytecode[id++] = S_SQ_CF_WORD0_ADDR(cf->cf_addr >> 1);
bc->bytecode[id] = S_SQ_CF_WORD1_CF_INST(opcode) |
+ S_SQ_CF_WORD1_VALID_PIXEL_MODE(cf->vpm) |
S_SQ_CF_WORD1_BARRIER(1) |
S_SQ_CF_WORD1_COND(cf->cond) |
S_SQ_CF_WORD1_POP_COUNT(cf->pop_count) |