projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1e591e
)
i965/fs: Fix MRT drawing since the m0->m2 move for shader debug.
author
Eric Anholt
<eric@anholt.net>
Mon, 25 Jul 2011 22:39:03 +0000
(15:39 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Tue, 26 Jul 2011 02:42:18 +0000
(19:42 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp
b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp
index 1d89b8f1d11ebfa262fd42a9617f77633a4caf25..eecfc92eb5ba71922f6bf3349e1566a283f27cb5 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
@@
-59,7
+59,8
@@
fs_visitor::generate_fb_write(fs_inst *inst)
if (inst->target > 0) {
/* Set the render target index for choosing BLEND_STATE. */
- brw_MOV(p, retype(brw_vec1_reg(BRW_MESSAGE_REGISTER_FILE, 0, 2),
+ brw_MOV(p, retype(brw_vec1_reg(BRW_MESSAGE_REGISTER_FILE,
+ inst->base_mrf, 2),
BRW_REGISTER_TYPE_UD),
brw_imm_ud(inst->target));
}