mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
anv: dirty descriptor state on CmdSetDescriptorBufferOffets
Calling vkCmdBindDescriptorBuffersEXT() does not invalidate previously set descriptor sets. Move the state dirtying to vkCmdSetDescriptorBufferOffets. Fixes:ab7641b8dc("anv: implement descriptor buffer binding") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36768> (cherry picked from commit35190aac91)
This commit is contained in:
parent
3cd6ddf46c
commit
0c53160139
2 changed files with 4 additions and 4 deletions
|
|
@ -2814,7 +2814,7 @@
|
|||
"description": "anv: dirty descriptor state on CmdSetDescriptorBufferOffets",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ab7641b8dcbfee419b761abb27fe6fed476b4e05",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -992,9 +992,6 @@ void anv_CmdBindDescriptorBuffersEXT(
|
|||
state->descriptor_buffers.offsets_dirty = ~0;
|
||||
}
|
||||
}
|
||||
|
||||
anv_cmd_buffer_maybe_dirty_descriptor_mode(cmd_buffer,
|
||||
ANV_CMD_DESCRIPTOR_BUFFER_MODE_BUFFER);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -1062,6 +1059,9 @@ void anv_CmdSetDescriptorBufferOffsets2EXT(
|
|||
pSetDescriptorBufferOffsetsInfo->pOffsets,
|
||||
pSetDescriptorBufferOffsetsInfo->pBufferIndices);
|
||||
}
|
||||
|
||||
anv_cmd_buffer_maybe_dirty_descriptor_mode(cmd_buffer,
|
||||
ANV_CMD_DESCRIPTOR_BUFFER_MODE_BUFFER);
|
||||
}
|
||||
|
||||
void anv_CmdBindDescriptorBufferEmbeddedSamplers2EXT(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue