mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
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:
parent
ce8b07d726
commit
f4bd99fb0d
1 changed files with 7 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue