From 6c91aa7955793c8a4c515d4d3878860defd97ed4 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 2 Mar 2020 14:59:45 +0100 Subject: [PATCH] radv/sqtt: fix wrong check in radv_is_thread_trace_complete() Oops, should be equal actually. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_sqtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c index c04a79f2842..669d4a846ca 100644 --- a/src/amd/vulkan/radv_sqtt.c +++ b/src/amd/vulkan/radv_sqtt.c @@ -505,7 +505,7 @@ radv_is_thread_trace_complete(struct radv_device *device, /* Otherwise, compare the current thread trace offset with the number * of written bytes. */ - return info->cur_offset < info->gfx9_write_counter; + return info->cur_offset == info->gfx9_write_counter; } static uint32_t