panfrost: Add cs_exception_handler_def() to the ForEachMacros list

And fix the call-sites accordingly.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32353>
This commit is contained in:
Boris Brezillon 2024-11-26 15:02:13 +01:00 committed by Marge Bot
parent 7a32fac596
commit 7a8e560c4e
2 changed files with 2 additions and 2 deletions

View file

@ -42,6 +42,7 @@ ForEachMacros: [
'cs_default',
'cs_else',
'cs_emit',
'cs_exception_handler_def',
'cs_if',
'cs_match',
'cs_update_compute_ctx',

View file

@ -45,8 +45,7 @@ generate_tiler_oom_handler(struct cs_buffer handler_mem, bool has_zs_ext,
.ls_sb_slot = SB_ID(LS),
};
cs_exception_handler_def(&b, &handler, handler_ctx)
{
cs_exception_handler_def(&b, &handler, handler_ctx) {
struct cs_index subqueue_ctx = cs_subqueue_ctx_reg(&b);
struct cs_index zero = cs_scratch_reg64(&b, 0);
/* Have flush_id read part of the double zero register */