i965: disable shadow batches when batch debugging.
authorDave Airlie <airlied@gmail.com>
Fri, 1 May 2020 03:28:56 +0000 (13:28 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 2 May 2020 19:47:23 +0000 (05:47 +1000)
commitee8f60da19d8e495483e5aa7a84717a8e941dd6f
tree424a44a4ed4c6c68bb02f3d0e45fe70a5357e2f4
parentb2164320a06f98b5ab49cbcf9d9929c5dd9c9b14
i965: disable shadow batches when batch debugging.

If you want to dump batch state, it needs to have the relocs processed
but the relocs don't get processed on the shadow batch.

Choose debugging over speed here.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4846>
src/mesa/drivers/dri/i965/intel_batchbuffer.c