diff options
author | Chris Forbes <[email protected]> | 2014-01-21 21:59:02 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-04-10 18:27:41 +1200 |
commit | 540d53d9b0cd357f70cb0f1aeaec82a604c43547 (patch) | |
tree | fc172911cc2a6cc1ba87b6f568fceec69088b526 /src | |
parent | d581247569fd7995dac1f29e387f2204c1396753 (diff) |
i965/blorp: Account for nonzero MinLayer in layered clears.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp_clear.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp index 081f2d95028..851af8cadb8 100644 --- 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; } } |