diff options
author | Keith Whitwell <[email protected]> | 2005-04-22 22:42:09 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-04-22 22:42:09 +0000 |
commit | bf87f864934e174b3493592d5d107f012aac0842 (patch) | |
tree | 4c3417c6d730cea4684ad8572b2d3477ee9dac56 /src/mesa/drivers/dri/unichrome | |
parent | 963586b871e77d8bc34c2a02500f8f5313825fd4 (diff) |
First pass at updating these drivers with pipeline_stage struct changes.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_render.c | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_render.c b/src/mesa/drivers/dri/unichrome/via_render.c index 201235410db..387473ef522 100644 --- a/src/mesa/drivers/dri/unichrome/via_render.c +++ b/src/mesa/drivers/dri/unichrome/via_render.c @@ -118,33 +118,13 @@ static GLboolean via_run_fastrender(GLcontext *ctx, return GL_FALSE; /* finished the pipe */ } - -static void via_check_fastrender(GLcontext *ctx, - struct tnl_pipeline_stage *stage) -{ - stage->inputs = TNL_CONTEXT(ctx)->render_inputs; -} - - -static void fastdtr(struct tnl_pipeline_stage *stage) -{ - (void)stage; -} - - const struct tnl_pipeline_stage _via_fastrender_stage = { "via fast render", - (_DD_NEW_SEPARATE_SPECULAR | - _NEW_TEXTURE| - _NEW_FOG| - _NEW_RENDERMODE), /* re-check (new inputs) */ - 0, /* re-run (always runs) */ - GL_TRUE, /* active */ - 0, 0, /* inputs (set in check_render), outputs */ - 0, 0, /* changed_inputs, private */ - fastdtr, /* destructor */ - via_check_fastrender, /* check - initially set to alloc data */ + NULL, + NULL, + NULL, + NULL, via_run_fastrender /* run */ }; |