nvk: EXT_conditional_rendering
This reads the buffer value, combines it with the inverted setting and sets SET_RENDER_ENABLE depending on this. This works for draw and clear calls, but not for dispatch. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24520>
This commit is contained in:

committed by
Faith Ekstrand

parent
07c70c77de
commit
8c25cd307a
@@ -176,6 +176,7 @@ nvk_BindBufferMemory2(VkDevice device,
|
||||
VK_FROM_HANDLE(nvk_device_memory, mem, pBindInfos[i].memory);
|
||||
VK_FROM_HANDLE(nvk_buffer, buffer, pBindInfos[i].buffer);
|
||||
|
||||
buffer->is_local = !(mem->bo->flags & NOUVEAU_WS_BO_GART);
|
||||
#if NVK_NEW_UAPI == 1
|
||||
if (buffer->vma_size_B) {
|
||||
VK_FROM_HANDLE(nvk_device, dev, device);
|
||||
|
Reference in New Issue
Block a user