projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965: Move up fs_inst::regs_written to backend_instruction.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_vec4_visitor.cpp
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 041c618fa430351f95535eb1f9e5662211921f7b..ada4a0cdc4d98f92aeffa1c879c1f7f65affdf78 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@
-44,6
+44,7
@@
vec4_instruction::vec4_instruction(enum opcode opcode, const dst_reg &dst,
this->writes_accumulator = false;
this->conditional_mod = BRW_CONDITIONAL_NONE;
this->target = 0;
+ this->regs_written = (dst.file == BAD_FILE ? 0 : 1);
this->shadow_compare = false;
this->ir = NULL;
this->urb_write_flags = BRW_URB_WRITE_NO_FLAGS;