mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 04:40:42 +01:00
anv: report correct format for depth/stencil blorps in utrace
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:
parent
37ba573877
commit
e24078deae
1 changed files with 3 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue