projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2caf6f5
)
r600g: add error print for no literals for r700s as well
author
Dave Airlie
<airlied@redhat.com>
Mon, 6 Sep 2010 00:38:29 +0000
(10:38 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 6 Sep 2010 00:38:29 +0000
(10:38 +1000)
src/gallium/drivers/r600/r700_asm.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r700_asm.c
b/src/gallium/drivers/r600/r700_asm.c
index cf08c88a19d3150a9bcd041fed908c05936eb567..aaeaff596360ba99b94d03dec9c863cf3bb736a5 100644
(file)
--- a/
src/gallium/drivers/r600/r700_asm.c
+++ b/
src/gallium/drivers/r600/r700_asm.c
@@
-66,6
+66,9
@@
int r700_bc_alu_build(struct r600_bc *bc, struct r600_bc_alu *alu, unsigned id)
S_SQ_ALU_WORD1_OP2_UPDATE_PRED(alu->predicate);
}
if (alu->last) {
+ if (alu->nliteral && !alu->literal_added) {
+ R600_ERR("Bug in ALU processing for instruction 0x%08x, literal not added correctly\n", alu->inst);
+ }
for (i = 0; i < alu->nliteral; i++) {
bc->bytecode[id++] = alu->value[i];
}