mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
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:
parent
7a32fac596
commit
7a8e560c4e
2 changed files with 2 additions and 2 deletions
|
|
@ -42,6 +42,7 @@ ForEachMacros: [
|
||||||
'cs_default',
|
'cs_default',
|
||||||
'cs_else',
|
'cs_else',
|
||||||
'cs_emit',
|
'cs_emit',
|
||||||
|
'cs_exception_handler_def',
|
||||||
'cs_if',
|
'cs_if',
|
||||||
'cs_match',
|
'cs_match',
|
||||||
'cs_update_compute_ctx',
|
'cs_update_compute_ctx',
|
||||||
|
|
|
||||||
|
|
@ -45,8 +45,7 @@ generate_tiler_oom_handler(struct cs_buffer handler_mem, bool has_zs_ext,
|
||||||
.ls_sb_slot = SB_ID(LS),
|
.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 subqueue_ctx = cs_subqueue_ctx_reg(&b);
|
||||||
struct cs_index zero = cs_scratch_reg64(&b, 0);
|
struct cs_index zero = cs_scratch_reg64(&b, 0);
|
||||||
/* Have flush_id read part of the double zero register */
|
/* Have flush_id read part of the double zero register */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue