Module: Mesa Branch: main Commit: 8e0273162432b940970816a9c138ea8fb1c526e4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e0273162432b940970816a9c138ea8fb1c526e4
Author: Alyssa Rosenzweig <[email protected]> Date: Mon Nov 8 10:36:30 2021 -0500 pan/bi: Add secondary staging count Useful for instructions with two independent sets of staging registers (like dual source blending or dual texturing). Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13723> --- src/panfrost/bifrost/compiler.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index b3e8a4808cc..b4f37f4c3de 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -409,7 +409,10 @@ typedef struct { }; /* TEXC, ATOM_CX: # of staging registers used */ - uint32_t sr_count; + struct { + uint32_t sr_count; + uint32_t sr_count_2; + }; }; /* Modifiers specific to particular instructions are thrown in a union */
