From 4bbb4b95b8ba02693f5e6990b983ebb66dc6241a Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 14 Mar 2017 17:52:12 -0700 Subject: [PATCH] anv/query: Fix the location of timestamp availability Reviewed-By: Lionel Landwerlin Cc: "17.0 13.0" --- src/intel/vulkan/genX_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c index 830f867..4e6638a 100644 --- a/src/intel/vulkan/genX_query.c +++ b/src/intel/vulkan/genX_query.c @@ -327,7 +327,7 @@ void genX(CmdWriteTimestamp)( break; } - emit_query_availability(cmd_buffer, &pool->bo, query + 16); + emit_query_availability(cmd_buffer, &pool->bo, offset + 16); } #if GEN_GEN > 7 || GEN_IS_HASWELL -- 2.7.4