summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-03-14 17:52:12 -0700
committerJason Ekstrand <[email protected]>2017-03-16 15:08:17 -0700
commit4bbb4b95b8ba02693f5e6990b983ebb66dc6241a (patch)
treef0650d9de97ee2da56ca9360c1fe42cc34034a65 /src/intel
parent9e60f59e627aa30d4a789cbd219eb76e0f2a4add (diff)
anv/query: Fix the location of timestamp availability
Reviewed-By: Lionel Landwerlin <[email protected]> Cc: "17.0 13.0" <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/genX_query.c2
1 files changed, 1 insertions, 1 deletions
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