Found by initializing the r8stencil_needs_update to false in
make_separate_stencil_surface.
Prevents regressing the piglit test arb_stencil_texturing-draw, later on
in the series.
Cc: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
if (!map->buffer)
return;
- intel_miptree_access_raw(brw, mt, level, slice,
+ intel_miptree_access_raw(brw, z_mt, level, slice,
+ map->mode & GL_MAP_WRITE_BIT);
+ intel_miptree_access_raw(brw, s_mt, level, slice,
map->mode & GL_MAP_WRITE_BIT);
/* One of either READ_BIT or WRITE_BIT or both is set. READ_BIT implies no