fix bad fragment shader pointer assignment
authorBrian <brian.paul@tungstengraphics.com>
Mon, 29 Oct 2007 15:41:53 +0000 (09:41 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 29 Oct 2007 15:41:53 +0000 (09:41 -0600)
src/mesa/pipe/softpipe/sp_state_derived.c

index e5ca953e604aa361b20cb2382c9c9f3f5950c907..81f70f0f244fa3f2714802577f715cc9b93be58f 100644 (file)
@@ -44,7 +44,7 @@
 static void calculate_vertex_layout( struct softpipe_context *softpipe )
 {
    const struct pipe_shader_state *vs = softpipe->vs->state;
-   const struct pipe_shader_state *fs = softpipe->fs;
+   const struct pipe_shader_state *fs = &softpipe->fs->shader;
    const enum interp_mode colorInterp
       = softpipe->rasterizer->flatshade ? INTERP_CONSTANT : INTERP_LINEAR;
    struct vertex_info *vinfo = &softpipe->vertex_info;