mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
v3dv: assert on subpasses that use input or resolve attachments
We don't support these yet, so we might as well assert early. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
79b07b85b6
commit
53de8892f4
1 changed files with 4 additions and 0 deletions
|
|
@ -1704,6 +1704,10 @@ v3dv_cmd_buffer_subpass_start(struct v3dv_cmd_buffer *cmd_buffer,
|
|||
framebuffer->layers,
|
||||
subpass->color_count,
|
||||
internal_bpp);
|
||||
|
||||
/* FIXME: we don't support input/resolve attachments yet */
|
||||
assert(subpass->input_count == 0);
|
||||
assert(subpass->resolve_attachments == NULL);
|
||||
}
|
||||
|
||||
/* If we can't use TLB clears then we need to emit draw clears for any
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue