mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 22:00:25 +01:00
panfrost: add a perf warning when resources need to be converted
This is a minor debugging aid. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30243>
This commit is contained in:
parent
56acdca86d
commit
fc3cfaa4aa
1 changed files with 1 additions and 0 deletions
|
|
@ -1470,6 +1470,7 @@ pan_resource_modifier_convert(struct panfrost_context *ctx,
|
|||
* be able to convert back to another modifier if needed */
|
||||
rsrc->modifier_constant = false;
|
||||
pipe_resource_reference(&tmp_prsrc, NULL);
|
||||
perf_debug(ctx, "resource_modifier_convert required due to: %s", reason);
|
||||
}
|
||||
|
||||
/* Validate that an AFBC/AFRC resource may be used as a particular format. If it
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue