From: Alyssa Rosenzweig Date: Wed, 27 May 2020 20:26:29 +0000 (-0400) Subject: panfrost: Add defines for bifrost unk1 flags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c2d0418c1aaa2b279b72c60fe0fa7a658bb0789;p=mesa.git panfrost: Add defines for bifrost unk1 flags Instead of open-coding. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 177242d42a9..678349edc0d 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -426,6 +426,16 @@ enum mali_format { */ #define MALI_SUPPRESS_INF_NAN (1 << 3) +/* Flags for bifrost1.unk1 */ + +/* Shader uses less than 32 registers, partitioned as [R0, R15] U [R48, R63], + * allowing for full thread count. If clear, the full [R0, R63] register set is + * available at half thread count */ +#define MALI_BIFROST_FULL_THREAD (1 << 9) + +/* First clause type is ATEST */ +#define MALI_BIFROST_FIRST_ATEST (1 << 26) + /* The raw Midgard blend payload can either be an equation or a shader * address, depending on the context */