(
a23cfb8 for gen6)
In layered rendering this will be 0. Otherwise it will be the
selected slice.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
NULL,
&tile_mask_x, &tile_mask_y);
+ const unsigned min_array_element = params->depth.layer;
+
lod = params->depth.level - params->depth.mt->first_level;
/* 3DSTATE_DEPTH_BUFFER */
break;
}
+ const unsigned min_array_element = irb ? irb->mt_layer : 0;
+
lod = irb ? irb->mt_level - irb->mt->first_level : 0;
BEGIN_BATCH(7);