From: Jason Ekstrand Date: Wed, 15 Mar 2017 00:52:12 +0000 (-0700) Subject: anv/query: Fix the location of timestamp availability X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bbb4b95b8ba02693f5e6990b983ebb66dc6241a;p=mesa.git anv/query: Fix the location of timestamp availability Reviewed-By: Lionel Landwerlin Cc: "17.0 13.0" --- diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c index 830f8670461..4e6638a0aeb 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