diff options
author | Sergii Romantsov <[email protected]> | 2018-11-05 15:02:49 +0200 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-11-05 09:24:55 -0800 |
commit | 5aeee1ab15f613403874661c7a186074af708928 (patch) | |
tree | 9ee447a00d65323811cd71a2eb757daa2ae15f8a /src/mesa/drivers | |
parent | 4fd0ff75f342bf8d6ec5565449d5c504b2b0af6d (diff) |
i965/batch/debug: Allow log be dumped before assert
Message that may show the culprit of assert now will
be dumped before that for debug purposes.
Signed-off-by: Sergii Romantsov <[email protected]>
Reviewed-by: Lionel G Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_batchbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c index 8b769eaf534..353fcba18f4 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c @@ -725,10 +725,10 @@ execbuffer(int fd, /* Update brw_bo::gtt_offset */ if (batch->validation_list[i].offset != bo->gtt_offset) { - assert(!(bo->kflags & EXEC_OBJECT_PINNED)); DBG("BO %d migrated: 0x%" PRIx64 " -> 0x%llx\n", bo->gem_handle, bo->gtt_offset, batch->validation_list[i].offset); + assert(!(bo->kflags & EXEC_OBJECT_PINNED)); bo->gtt_offset = batch->validation_list[i].offset; } } |