diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-05-27 16:26:29 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2020-05-27 16:49:44 -0400 |
commit | 1c2d0418c1aaa2b279b72c60fe0fa7a658bb0789 (patch) | |
tree | 947c311be88e54bb4f4d5a8bab63134c3161d4c3 /src | |
parent | 55e3305a5b0bd47874e99b3dd090929fc3cbfd0e (diff) |
panfrost: Add defines for bifrost unk1 flags
Instead of open-coding.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5232>
Diffstat (limited to 'src')
-rw-r--r-- | src/panfrost/include/panfrost-job.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 */ |