Module: Mesa
Branch: master
Commit: c76ebc0c7a6db701ca18bfa4e6ae86b40d93a322
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c76ebc0c7a6db701ca18bfa4e6ae86b40d93a322

Author: Sagar Ghuge <[email protected]>
Date:   Mon Nov 18 12:41:13 2019 -0800

anv: Set stencil_aux_usage flag

v2: Use image aux usage (Nanley Chery)

Signed-off-by: Sagar Ghuge <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2942>

---

 src/intel/vulkan/genX_cmd_buffer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/vulkan/genX_cmd_buffer.c 
b/src/intel/vulkan/genX_cmd_buffer.c
index 80dbc612971..70e0ed28120 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -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,

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to