aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-12-21 15:38:08 +0000
committerKeith Whitwell <[email protected]>2009-12-21 15:38:08 +0000
commitf217927a57dbf57ffe23fb48417a4cdad7e0eeea (patch)
treedda1b265aae4ff142c035abc9dc35f73cb18f0a4 /src
parentba4cb8b2caac69c6d2b210a5c3c634d8c1c20940 (diff)
i965g: remove duplicate set_viewport_state, fixes samples/depth
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i965/brw_pipe_misc.c9
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 0d0d92df82d..30359078079 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;
}