nvk/query: fix push buffer size for copy pool results.

the immediate takes two slots, so bump this by one,
fixes a crash in zink KHR-GL45.transform_feedback.query_vertex_interleaved_test

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Dave Airlie
2023-07-18 15:51:23 +10:00
committed by Marge Bot
parent 4fe57b2d7a
commit 820c03ebee
+1 -1
View File
@@ -775,7 +775,7 @@ nvk_CmdCopyQueryPoolResults(VkCommandBuffer commandBuffer,
}
}
struct nv_push *p = nvk_cmd_buffer_push(cmd, 12);
struct nv_push *p = nvk_cmd_buffer_push(cmd, 13);
P_IMMD(p, NVC597, SET_MME_DATA_FIFO_CONFIG, FIFO_SIZE_SIZE_4KB);
P_1INC(p, NVC597, CALL_MME_MACRO(NVK_MME_COPY_QUERIES));