summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-01-27 08:34:49 -0500
committerMarge Bot <[email protected]>2020-01-27 13:38:41 +0000
commit8784062abbc832ed09a53efbed3a87893aa0315a (patch)
tree0d4da9dd9ff4719f1c3e17ab3815e8eff33173d6
parent5a271df028481c6b92fac0cff79703bf6035f6eb (diff)
pan/midgard: Handle tag 0x4 as texture
Used for barriers which work as texture ops. Signed-off-by: Alyssa Rosenzweig <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3580> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3580>
-rw-r--r--src/panfrost/midgard/midgard_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/midgard/midgard_ops.c b/src/panfrost/midgard/midgard_ops.c
index 2f33af06635..3df6e34fc99 100644
--- a/src/panfrost/midgard/midgard_ops.c
+++ b/src/panfrost/midgard/midgard_ops.c
@@ -260,7 +260,7 @@ midgard_word_type midgard_word_types[16] = {
midgard_word_type_unknown, /* 0x1 */
midgard_word_type_texture, /* 0x2 */
midgard_word_type_texture, /* 0x3 */
- midgard_word_type_unknown, /* 0x4 */
+ midgard_word_type_texture, /* 0x4 */
midgard_word_type_load_store, /* 0x5 */
midgard_word_type_unknown, /* 0x6 */
midgard_word_type_unknown, /* 0x7 */
@@ -279,7 +279,7 @@ unsigned midgard_word_size[16] = {
0, /* 0x1 */
1, /* 0x2 */
1, /* 0x3 */
- 0, /* 0x4 */
+ 1, /* 0x4 */
1, /* 0x5 */
0, /* 0x6 */
0, /* 0x7 */