mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08: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>
This commit is contained in:
parent
382b8e3aa2
commit
35190aac91
1 changed files with 3 additions and 3 deletions
|
|
@ -1064,9 +1064,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
|
||||
|
|
@ -1135,6 +1132,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