anv: Set stencil_aux_usage flag
v2: Use image aux usage (Nanley Chery) Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2942>
This commit is contained in:
parent
be2ca24da5
commit
c76ebc0c7a
|
@ -5107,6 +5107,7 @@ cmd_buffer_emit_depth_stencil(struct anv_cmd_buffer *cmd_buffer)
|
|||
|
||||
info.stencil_surf = &surface->isl;
|
||||
|
||||
info.stencil_aux_usage = image->planes[stencil_plane].aux_usage;
|
||||
info.stencil_address =
|
||||
anv_batch_emit_reloc(&cmd_buffer->batch,
|
||||
dw + device->isl_dev.ds.stencil_offset / 4,
|
||||
|
|
Loading…
Reference in New Issue