GLboolean dither;
- GLboolean depth_test;
- GLubyte depth_mask;
+ GLboolean depth_test, depth_write;
GLenum depth_func;
};
key->depth_test = brw->attribs.Depth->Test;
if (key->depth_test) {
key->depth_func = brw->attribs.Depth->Func;
- key->depth_mask = brw->attribs.Depth->Mask;
+ key->depth_write = brw->attribs.Depth->Mask;
}
}
if (key->depth_test) {
cc.cc2.depth_test = 1;
cc.cc2.depth_test_function = intel_translate_compare_func(key->depth_func);
- cc.cc2.depth_write_enable = key->depth_mask;
+ cc.cc2.depth_write_enable = key->depth_write;
}
/* CACHE_NEW_CC_VP */