anv: report correct format for depth/stencil blorps in utrace
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Felix DeGrood <felix.j.degrood@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40184>
This commit is contained in:
Felix DeGrood 2026-03-02 23:11:54 +00:00 committed by Marge Bot
parent 37ba573877
commit e24078deae

View file

@ -56,7 +56,9 @@ static void blorp_measure_end(struct blorp_batch *_batch,
params->y1 - params->y0,
params->num_samples,
params->shader_pipeline,
params->dst.view.format,
params->depth.enabled ? params->depth.view.format :
params->stencil.enabled ? params->stencil.view.format :
params->dst.view.format,
params->src.view.format,
(_batch->flags & BLORP_BATCH_PREDICATE_ENABLE));
}