Of the places noting a _NEW_DEPTH dependency, all were already checking
for _NEW_BUFFERS if appropriate.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
return;
}
- intel->NewGLState |= _NEW_DEPTH;
-
/* The driver uses this in places that need to look up
* renderbuffers' buffer objects.
*/
intel_emit_depth_stall_flushes(intel);
- /* _NEW_DEPTH, _NEW_STENCIL */
+ /* _NEW_DEPTH, _NEW_STENCIL, _NEW_BUFFERS */
BEGIN_BATCH(7);
OUT_BATCH(GEN7_3DSTATE_DEPTH_BUFFER << 16 | (7 - 2));
OUT_BATCH((depth_mt ? depth_mt->region->pitch - 1 : 0) |