diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-01 15:17:30 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-01 15:18:04 -0700 |
commit | 52659e3c238d961de1f25bed9254747f2f931547 (patch) | |
tree | 186be7f108b68a3d57dabf0895cf10c5d38baa7d /src/mesa/pipe/softpipe/sp_state_derived.c | |
parent | 292bbd4a7250b96c4edadc2da5ebb7fc72b6159f (diff) |
Clean-up, re-org some vertex/fragment shader state code.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_state_derived.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_state_derived.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state_derived.c b/src/mesa/pipe/softpipe/sp_state_derived.c index a5e766781f..630ae3163f 100644 --- a/src/mesa/pipe/softpipe/sp_state_derived.c +++ b/src/mesa/pipe/softpipe/sp_state_derived.c @@ -40,7 +40,7 @@ */ static void calculate_vertex_layout( struct softpipe_context *softpipe ) { - const struct pipe_shader_state *vs = softpipe->vs->state; + const struct pipe_shader_state *vs = &softpipe->vs->shader; const struct pipe_shader_state *fs = &softpipe->fs->shader; const enum interp_mode colorInterp = softpipe->rasterizer->flatshade ? INTERP_CONSTANT : INTERP_LINEAR; |