diff options
author | Brian Paul <brianp@vmware.com> | 2011-07-21 09:55:22 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-07-21 09:57:37 -0600 |
commit | c534f11164bbecf25eb2b1e697f9511eceb0c86f (patch) | |
tree | 9514aec5d678796b6d8bd4bcb888c90e1107b91d /src/gallium/drivers/softpipe/sp_quad_pipe.c | |
parent | 3dde6be908d827f4d6d54e0968ae83c2c4dfa87c (diff) | |
download | external_mesa3d-c534f11164bbecf25eb2b1e697f9511eceb0c86f.zip external_mesa3d-c534f11164bbecf25eb2b1e697f9511eceb0c86f.tar.gz external_mesa3d-c534f11164bbecf25eb2b1e697f9511eceb0c86f.tar.bz2 |
softpipe: implement fragment shader variants
We'll need shader variants to accomodate the new polygon stipple utility.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad_pipe.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_pipe.c b/src/gallium/drivers/softpipe/sp_quad_pipe.c index addd47e..a98f8b7 100644 --- a/src/gallium/drivers/softpipe/sp_quad_pipe.c +++ b/src/gallium/drivers/softpipe/sp_quad_pipe.c @@ -46,9 +46,9 @@ sp_build_quad_pipeline(struct softpipe_context *sp) sp->depth_stencil->depth.enabled && sp->framebuffer.zsbuf && !sp->depth_stencil->alpha.enabled && - !sp->fs->info.uses_kill && - !sp->fs->info.writes_z && - !sp->fs->info.writes_stencil; + !sp->fs_variant->info.uses_kill && + !sp->fs_variant->info.writes_z && + !sp->fs_variant->info.writes_stencil; sp->quad.first = sp->quad.blend; |