pvr: do not assert in multi-layer rta emulated path

The assert here was too strict and dynamic rendering tests do exercise this
part. The correct fix is to either re-enable RTA support or handle properly
multi-layered emulation.

Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38744>
This commit is contained in:
Luigi Santivetti 2025-12-07 00:24:29 +00:00 committed by Marge Bot
parent 2eabbbe57d
commit 5d46d6c93c

View file

@ -874,7 +874,9 @@ void pvr_pack_clear_vdm_state(const struct pvr_device_info *const dev_info,
assert(layer_count);
} else {
needs_instance_count = false;
assert(layer_count == 1);
/* FIXME: CTS dynamic rendering tests need RTA emulation for multi-layered
* clears.
*/
}
pvr_calculate_vertex_cam_size(dev_info,