r600g: Remove the unused "pframebuffer" field from r600_pipe_context.
authorHenri Verbeet <hverbeet@gmail.com>
Wed, 22 Dec 2010 08:18:05 +0000 (09:18 +0100)
committerHenri Verbeet <hverbeet@gmail.com>
Wed, 22 Dec 2010 08:19:48 +0000 (09:19 +0100)
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c

index 719b29f2ea39079e453ebf87ba8f317854478033..c6f3669c9a3e61c83a78a7180df04eaccdafdec8 100644 (file)
@@ -770,8 +770,6 @@ static void evergreen_set_framebuffer_state(struct pipe_context *ctx,
 
        util_copy_framebuffer_state(&rctx->framebuffer, state);
 
-       rctx->pframebuffer = &rctx->framebuffer;
-
        /* build states */
        for (int i = 0; i < state->nr_cbufs; i++) {
                evergreen_cb(rctx, rstate, state, i);
index 43dbee99b0f1ca06ee44391c5443cb89bbaac661..d9c35a44f18cf958422695de3de1f964dc410cbe 100644 (file)
@@ -136,7 +136,6 @@ struct r600_upload;
 struct r600_pipe_context {
        struct pipe_context             context;
        struct blitter_context          *blitter;
-       struct pipe_framebuffer_state   *pframebuffer;
        unsigned                        family;
        void                            *custom_dsa_flush;
        struct r600_screen              *screen;
index 9b099df18d44dc375ab3167bbaaa931ab57e9ec2..b68203f78f8669dc9e0a8217931aac8e261678fe 100644 (file)
@@ -1019,8 +1019,6 @@ static void r600_set_framebuffer_state(struct pipe_context *ctx,
 
        util_copy_framebuffer_state(&rctx->framebuffer, state);
 
-       rctx->pframebuffer = &rctx->framebuffer;
-
        /* build states */
        for (int i = 0; i < state->nr_cbufs; i++) {
                r600_cb(rctx, rstate, state, i);