Mesa (i965g-restart): i965g: remove duplicate set_viewport_state, fixes samples/depth

Keith Whitwell keithw at kemper.freedesktop.org
Mon Dec 21 08:59:45 PST 2009


Module: Mesa
Branch: i965g-restart
Commit: f217927a57dbf57ffe23fb48417a4cdad7e0eeea
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f217927a57dbf57ffe23fb48417a4cdad7e0eeea

Author: Keith Whitwell <keithw at vmware.com>
Date:   Mon Dec 21 15:38:08 2009 +0000

i965g: remove duplicate set_viewport_state, fixes samples/depth

---

 src/gallium/drivers/i965/brw_pipe_misc.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/gallium/drivers/i965/brw_pipe_misc.c b/src/gallium/drivers/i965/brw_pipe_misc.c
index 0d0d92d..3035907 100644
--- a/src/gallium/drivers/i965/brw_pipe_misc.c
+++ b/src/gallium/drivers/i965/brw_pipe_misc.c
@@ -30,14 +30,6 @@ static void brw_set_scissor_state( struct pipe_context *pipe,
    brw->state.dirty.mesa |= PIPE_NEW_SCISSOR;
 }
 
-static void brw_set_viewport_state( struct pipe_context *pipe,
-                                    const struct pipe_viewport_state *viewport )
-{
-   struct brw_context *brw = brw_context(pipe);
-
-   brw->curr.viewport = *viewport;
-   brw->state.dirty.mesa |= PIPE_NEW_VIEWPORT;
-}
 
 static void brw_set_clip_state( struct pipe_context *pipe,
                                 const struct pipe_clip_state *clip )
@@ -54,7 +46,6 @@ void brw_pipe_misc_init( struct brw_context *brw )
    brw->base.set_polygon_stipple = brw_set_polygon_stipple;
    brw->base.set_scissor_state = brw_set_scissor_state;
    brw->base.set_clip_state = brw_set_clip_state;
-   brw->base.set_viewport_state = brw_set_viewport_state;
 }
 
 



More information about the mesa-commit mailing list