projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
951ac46
)
r600g: set CB_COLOR_INFO to INVALID for disabled colorbuffers on r600-r700
author
Marek Olšák
<maraeo@gmail.com>
Tue, 14 Aug 2012 20:10:35 +0000
(22:10 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 16 Aug 2012 18:44:53 +0000
(20:44 +0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/r600/r600_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state.c
b/src/gallium/drivers/r600/r600_state.c
index 989350e4b7e5452265424fcf99d8c1a3548115ae..d06c25000f18608dc171722765b5d686f16e98eb 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state.c
+++ b/
src/gallium/drivers/r600/r600_state.c
@@
-1436,6
+1436,9
@@
static void r600_set_framebuffer_state(struct pipe_context *ctx,
surf->cb_color_info, res, RADEON_USAGE_READWRITE);
i++;
}
+ for (; i < 8 ; i++) {
+ r600_pipe_state_add_reg(rstate, R_0280A0_CB_COLOR0_INFO + i * 4, 0);
+ }
/* Update alpha-test state dependencies.
* Alpha-test is done on the first colorbuffer only. */