nvk: Don't flush descriptors in BeginConditionalRendering

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26615>
This commit is contained in:
Faith Ekstrand 2023-12-09 12:01:49 -06:00 committed by Marge Bot
parent 869f5fc680
commit e6cd4b177a

View file

@ -2894,8 +2894,6 @@ nvk_CmdBeginConditionalRenderingEXT(VkCommandBuffer commandBuffer,
bool inverted = pConditionalRenderingBegin->flags &
VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT;
nvk_flush_descriptors(cmd);
if (addr & 0x3f || buffer->is_local) {
uint64_t tmp_addr;
VkResult result = nvk_cmd_buffer_cond_render_alloc(cmd, &tmp_addr);