pvr: Allow S8_UINT to be used as a stencil attachment format

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23431>
This commit is contained in:
Matt Coster
2023-06-02 16:05:50 +01:00
committed by Marge Bot
parent 52050a35c7
commit 6b53ba341e

View File

@@ -1496,11 +1496,6 @@ static void pvr_frag_state_stream_init(struct pvr_render_ctx *ctx,
value.mask = true;
if (job->has_stencil_attachment &&
job->ds.vk_format != VK_FORMAT_D24_UNORM_S8_UINT) {
unreachable("Unsupported stencil format");
}
value.stencil = job->ds_clear_value.stencil & 0xFF;
}
stream_ptr += pvr_cmd_length(CR_ISP_BGOBJVALS);