projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d581247
)
i965/blorp: Account for nonzero MinLayer in layered clears.
author
Chris Forbes
<chrisf@ijw.co.nz>
Tue, 21 Jan 2014 08:59:02 +0000
(21:59 +1300)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Thu, 10 Apr 2014 06:27:41 +0000
(18:27 +1200)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
index 081f2d950286a30e491dbbe49d345fcdfaeda71d..851af8cadb84f3d55f05ac96e8e9c3255dc1feea 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
@@
-588,7
+588,7
@@
brw_blorp_clear_color(struct brw_context *brw, struct gl_framebuffer *fb,
unsigned num_layers = irb->layer_count;
for (unsigned layer = 0; layer < num_layers; layer++) {
if (!do_single_blorp_clear(brw, fb, rb, buf, partial_clear,
- layer * layer_multiplier)) {
+
irb->mt_layer +
layer * layer_multiplier)) {
return false;
}
}