From 8784062abbc832ed09a53efbed3a87893aa0315a Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 27 Jan 2020 08:34:49 -0500 Subject: [PATCH] pan/midgard: Handle tag 0x4 as texture Used for barriers which work as texture ops. Signed-off-by: Alyssa Rosenzweig Tested-by: Marge Bot Part-of: --- src/panfrost/midgard/midgard_ops.c | 4 ++-- 1 file 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 */ -- 2.30.2