diff options
author | Marek Olšák <[email protected]> | 2012-09-18 19:42:29 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-22 00:31:58 +0200 |
commit | c8b06dccff9cb89e20378664f3cbc202876a180f (patch) | |
tree | 33346783d2ab15087f82509b4d2f61644f757592 /src/gallium/drivers/r600/r600_blit.c | |
parent | b6521801070d52bdd5908824e82c1ce2dde16e8e (diff) |
r600g: atomize framebuffer state
Tested on RS880, Evergreen and Cayman.
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 9ca40298ba1..09fb6239221 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -71,7 +71,7 @@ static void r600_blitter_begin(struct pipe_context *ctx, enum r600_blitter_op op } if (op & R600_SAVE_FRAMEBUFFER) - util_blitter_save_framebuffer(rctx->blitter, &rctx->framebuffer); + util_blitter_save_framebuffer(rctx->blitter, &rctx->framebuffer.state); if (op & R600_SAVE_TEXTURES) { util_blitter_save_fragment_sampler_states( @@ -509,7 +509,7 @@ static void r600_clear(struct pipe_context *ctx, unsigned buffers, double depth, unsigned stencil) { struct r600_context *rctx = (struct r600_context *)ctx; - struct pipe_framebuffer_state *fb = &rctx->framebuffer; + struct pipe_framebuffer_state *fb = &rctx->framebuffer.state; r600_blitter_begin(ctx, R600_CLEAR); util_blitter_clear(rctx->blitter, fb->width, fb->height, |