mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01: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
755d4ffd28
commit
80d6e96990
2 changed files with 4 additions and 4 deletions
|
|
@ -7954,7 +7954,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
|
||||
|
|
|
|||
|
|
@ -988,9 +988,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
|
||||
|
|
@ -1058,6 +1055,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