mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
lavapipe: unset attachment remap state if pColorAttachmentLocations==NULL
cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41407>
This commit is contained in:
parent
563259eaa9
commit
abc6f351b1
1 changed files with 1 additions and 1 deletions
|
|
@ -2061,7 +2061,7 @@ static void
|
|||
handle_rendering_attachment_locations(struct vk_cmd_queue_entry *cmd, struct rendering_state *state)
|
||||
{
|
||||
VkRenderingAttachmentLocationInfoKHR *set = cmd->u.set_rendering_attachment_locations.location_info;
|
||||
state->fb_remapped = true;
|
||||
state->fb_remapped = !!set->pColorAttachmentLocations;
|
||||
memset(state->fb_map, PIPE_MAX_COLOR_BUFS, sizeof(state->fb_map));
|
||||
assert(state->color_att_count == set->colorAttachmentCount);
|
||||
if (set->pColorAttachmentLocations) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue