nvk: Move cond rendering memory out of gart
This is a 41% performance improvement on the Sascha Willems conditionalrender demo with all rendering disabled (422 fps -> 595 fps) Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37187>
This commit is contained in:
@@ -317,7 +317,7 @@ nvk_cmd_buffer_cond_render_alloc(struct nvk_cmd_buffer *cmd,
|
||||
}
|
||||
|
||||
struct nvk_cmd_mem *mem;
|
||||
VkResult result = nvk_cmd_buffer_alloc_mem(cmd, true, &mem);
|
||||
VkResult result = nvk_cmd_buffer_alloc_mem(cmd, false, &mem);
|
||||
if (unlikely(result != VK_SUCCESS))
|
||||
return result;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user