gallium: standardize naming of masks
[mesa.git] / src / gallium / drivers / i965simple / brw_wm.c
index 8de565b96cd56397e273cbbeba53f25716f7eecf..10161f2d2f6b5e30de0c5f4cbd316b9873aa63c4 100644 (file)
@@ -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;
    }