aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple/brw_wm.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-01-26 14:37:21 -0500
committerZack Rusin <[email protected]>2009-01-27 12:20:25 -0500
commita7e72231e3c76a9410d192441da309002ea6422d (patch)
treea48936101f875d5620ccdfb7262b1288ce902024 /src/gallium/drivers/i965simple/brw_wm.c
parent872b515e8f0bb1be5bad85fd9d01529c71f07ba2 (diff)
gallium: standardize naming of masks
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 8de565b96cd..10161f2d2f6 100644
--- a/src/gallium/drivers/i965simple/brw_wm.c
+++ b/src/gallium/drivers/i965simple/brw_wm.c
@@ -111,8 +111,8 @@ static void brw_wm_populate_key( struct brw_context *brw,
if (brw->attribs.DepthStencil->stencil[0].enabled) {
lookup |= IZ_STENCIL_TEST_ENABLE_BIT;
- if (brw->attribs.DepthStencil->stencil[0].write_mask ||
- brw->attribs.DepthStencil->stencil[1].write_mask)
+ if (brw->attribs.DepthStencil->stencil[0].writemask ||
+ brw->attribs.DepthStencil->stencil[1].writemask)
lookup |= IZ_STENCIL_WRITE_ENABLE_BIT;
}