panvk: Fix stencil clear assignment in panvk_cmd_fb_info_set_subpass()
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13077>
This commit is contained in:
parent
99adf33642
commit
346c6ac221
|
@ -393,7 +393,7 @@ panvk_cmd_fb_info_set_subpass(struct panvk_cmd_buffer *cmdbuf)
|
|||
|
||||
if (util_format_has_stencil(fdesc)) {
|
||||
fbinfo->zs.clear.s = subpass->zs_attachment.clear;
|
||||
fbinfo->zs.clear_value.stencil = clears[subpass->zs_attachment.idx].depth;
|
||||
fbinfo->zs.clear_value.stencil = clears[subpass->zs_attachment.idx].stencil;
|
||||
if (!fbinfo->zs.view.zs)
|
||||
fbinfo->zs.view.s = &view->pview;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue