summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-29 09:41:53 -0600
committerBrian <[email protected]>2007-10-29 09:41:53 -0600
commitb58b64f361bef38a76b199427a4e248b1fab9f65 (patch)
treed3af3576903e04c74f8a1cbba688652960c5474c /src/mesa/pipe/softpipe
parentcc0b55c242e9f53a8e45c5d4392f964af44f396e (diff)
fix bad fragment shader pointer assignment
Diffstat (limited to 'src/mesa/pipe/softpipe')
-rw-r--r--src/mesa/pipe/softpipe/sp_state_derived.c2
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 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;