pan/midgard: Handle tag 0x4 as texture
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 27 Jan 2020 13:34:49 +0000 (08:34 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Jan 2020 13:38:41 +0000 (13:38 +0000)
Used for barriers which work as texture ops.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3580>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3580>

src/panfrost/midgard/midgard_ops.c

index 2f33af066358c9df88945b5bf6361d6d6b937e7c..3df6e34fc994d4ba778de1b6f35d37f7a5771b8c 100644 (file)
@@ -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 */