Mesa (master): anv/query: Fix the location of timestamp availability
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Thu Mar 16 22:08:37 UTC 2017
Module: Mesa
Branch: master
Commit: 4bbb4b95b8ba02693f5e6990b983ebb66dc6241a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bbb4b95b8ba02693f5e6990b983ebb66dc6241a
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Tue Mar 14 17:52:12 2017 -0700
anv/query: Fix the location of timestamp availability
Reviewed-By: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: "17.0 13.0" <mesa-dev at lists.freedesktop.org>
---
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 830f867046..4e6638a0ae 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
More information about the mesa-commit
mailing list