anv/query: Fix batch end value
This were not causing any issues but better set end to the correct value. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31239>
This commit is contained in:

committed by
Marge Bot

parent
ac95745dc4
commit
3d09ffde46
@@ -264,7 +264,7 @@ VkResult genX(CreateQueryPool)(
|
||||
struct mi_builder b;
|
||||
struct anv_batch batch = {
|
||||
.start = pool->bo->map + khr_perf_query_preamble_offset(pool, p),
|
||||
.end = pool->bo->map + khr_perf_query_preamble_offset(pool, p) + pool->data_offset,
|
||||
.end = pool->bo->map + khr_perf_query_preamble_offset(pool, p) + pool->khr_perf_preamble_stride,
|
||||
};
|
||||
batch.next = batch.start;
|
||||
|
||||
|
Reference in New Issue
Block a user