summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965simple/brw_wm.c
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2008-02-27 16:09:17 -0700
committerBrian <brian@i915.localnet.net>2008-02-27 16:09:17 -0700
commitbad54d0b4dbe62aed6fad1d2725f7fe52a987440 (patch)
tree0253a166770cab0cc0613a00907489a30f50ff58 /src/gallium/drivers/i965simple/brw_wm.c
parentea7e86dd4d1e7dbef2642da73bb1980723ae49ef (diff)
gallium/i965: remove UsesDepth, UsesKill - use tgsi_shader_info instead
Diffstat (limited to 'src/gallium/drivers/i965simple/brw_wm.c')
-rw-r--r--src/gallium/drivers/i965simple/brw_wm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965simple/brw_wm.c b/src/gallium/drivers/i965simple/brw_wm.c
index 539b170744..1c4b5b5ede 100644
--- a/src/gallium/drivers/i965simple/brw_wm.c
+++ b/src/gallium/drivers/i965simple/brw_wm.c
@@ -94,11 +94,11 @@ static void brw_wm_populate_key( struct brw_context *brw,
/* Build the index for table lookup
*/
/* BRW_NEW_DEPTH_STENCIL */
- if (fp->UsesKill ||
+ if (fp->info.uses_kill ||
brw->attribs.DepthStencil->alpha.enabled)
lookup |= IZ_PS_KILL_ALPHATEST_BIT;
- if (fp->ComputesDepth)
+ if (fp->info.writes_z)
lookup |= IZ_PS_COMPUTES_DEPTH_BIT;
if (brw->attribs.DepthStencil->depth.enabled)