mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 13:18:09 +02:00
lavapipe: unset attachment remap state if pColorAttachmentLocations==NULL
cc: mesa-stable
(cherry picked from commit abc6f351b1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>
This commit is contained in:
parent
72b5aad56d
commit
fa31e5e295
2 changed files with 2 additions and 2 deletions
|
|
@ -2954,7 +2954,7 @@
|
|||
"description": "lavapipe: unset attachment remap state if pColorAttachmentLocations==NULL",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1891,7 +1891,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