summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_quad.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-26 10:13:39 -0700
committerBrian <[email protected]>2008-02-26 10:13:39 -0700
commitf74279002a0ae0b106bd5410487ef9c0e9b1d8b6 (patch)
treef9273881651ea0df206c6281337f6872df2878db /src/gallium/drivers/softpipe/sp_quad.c
parent1410b7bb509ef37c41043b173bc1047257483af0 (diff)
gallium: added tgsi_shader_field to sp_fragment_shader
Use the shader semantic info from there, instead of from pipe_shader_state. Carry this idea to draw module and other drivers...
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_quad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad.c b/src/gallium/drivers/softpipe/sp_quad.c
index 142dbcc7710..0aaf94021f8 100644
--- a/src/gallium/drivers/softpipe/sp_quad.c
+++ b/src/gallium/drivers/softpipe/sp_quad.c
@@ -61,7 +61,7 @@ sp_build_quad_pipeline(struct softpipe_context *sp)
sp->framebuffer.zsbuf &&
!sp->depth_stencil->alpha.enabled &&
!sp->fs->uses_kill &&
- !sp->fs->writes_z;
+ !sp->fs->info.writes_z;
/* build up the pipeline in reverse order... */