panvk: Make sure we emit blend descriptors even if no FS shader is provided
This way we avoid complaints from pandecode. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30740>
This commit is contained in:
committed by
Mary Guillemard
parent
ce8b07d726
commit
f4bd99fb0d
@@ -368,6 +368,13 @@ panvk_draw_prepare_fs_rsd(struct panvk_cmd_buffer *cmdbuf,
|
||||
dev, cb, cmdbuf->state.gfx.render.color_attachments.fmts,
|
||||
cmdbuf->state.gfx.render.color_attachments.samples, fs_info, fs_code,
|
||||
bds, &blend_reads_dest, &blend_shader_loads_blend_const);
|
||||
} else {
|
||||
for (unsigned i = 0; i < bd_count; i++) {
|
||||
pan_pack(&bds[i], BLEND, cfg) {
|
||||
cfg.enable = false;
|
||||
cfg.internal.mode = MALI_BLEND_MODE_OFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pan_pack(rsd, RENDERER_STATE, cfg) {
|
||||
|
||||
Reference in New Issue
Block a user