[Mesa-dev] [PATCH 01/12] anv/query: Fix the location of timestamp availability

Jason Ekstrand jason at jlekstrand.net
Thu Mar 16 00:03:05 UTC 2017


---
 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.5.0.400.gff86faf



More information about the mesa-dev mailing list