diff options
author | Tomeu Vizoso <[email protected]> | 2020-05-01 07:36:31 +0200 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2020-05-01 16:52:28 +0200 |
commit | c4400b05be1aa68168e924066b9d05401745a879 (patch) | |
tree | fb3f702ec5b147f71af3c1603712658f01491717 /src/panfrost/include | |
parent | c409428006447c5e942bee1bc917ecadababe242 (diff) |
panfrost: GPUs newer than G-71 don't have swizzles...
for attributes and varyings.
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4832>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r-- | src/panfrost/include/panfrost-quirks.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/panfrost/include/panfrost-quirks.h b/src/panfrost/include/panfrost-quirks.h index c8d631cd476..e45191fe11a 100644 --- a/src/panfrost/include/panfrost-quirks.h +++ b/src/panfrost/include/panfrost-quirks.h @@ -47,9 +47,12 @@ /* What it says on the tin */ #define IS_BIFROST (1 << 3) +/* What it says on the tin */ +#define HAS_SWIZZLES (1 << 4) + /* Quirk collections common to particular uarchs */ -#define MIDGARD_QUIRKS (MIDGARD_BROKEN_FP16) +#define MIDGARD_QUIRKS (MIDGARD_BROKEN_FP16 | HAS_SWIZZLES) #define BIFROST_QUIRKS (IS_BIFROST) @@ -73,6 +76,9 @@ panfrost_get_quirks(unsigned gpu_id) case 0x880: return MIDGARD_QUIRKS; + case 0x6000: /* G71 */ + return BIFROST_QUIRKS | HAS_SWIZZLES; + case 0x7093: /* G31 */ case 0x7212: /* G52 */ return BIFROST_QUIRKS; |