[Mesa-dev] [PATCH] radv: also fixup event emission to not get culled.
Dave Airlie
airlied at gmail.com
Wed Feb 15 00:16:34 UTC 2017
From: Dave Airlie <airlied at redhat.com>
This is possibly a bad idea, I might have to consider a better one.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/amd/vulkan/radv_cmd_buffer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 681b5a3..4269186 100644
--- a/src/amd/vulkan/radv_cmd_buffer.c
+++ b/src/amd/vulkan/radv_cmd_buffer.c
@@ -2890,6 +2890,7 @@ static void write_event(struct radv_cmd_buffer *cmd_buffer,
uint64_t va = cmd_buffer->device->ws->buffer_get_va(event->bo);
cmd_buffer->device->ws->cs_add_buffer(cs, event->bo, 8);
+ cmd_buffer->no_draws = false;
MAYBE_UNUSED unsigned cdw_max = radeon_check_space(cmd_buffer->device->ws, cs, 12);
--
2.7.4
More information about the mesa-dev
mailing list