From: Brian Date: Mon, 29 Oct 2007 15:41:53 +0000 (-0600) Subject: fix bad fragment shader pointer assignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b58b64f361bef38a76b199427a4e248b1fab9f65;p=mesa.git fix bad fragment shader pointer assignment --- diff --git a/src/mesa/pipe/softpipe/sp_state_derived.c b/src/mesa/pipe/softpipe/sp_state_derived.c index e5ca953e604..81f70f0f244 100644 --- a/src/mesa/pipe/softpipe/sp_state_derived.c +++ b/src/mesa/pipe/softpipe/sp_state_derived.c @@ -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;