From: Alyssa Rosenzweig Date: Mon, 27 Jan 2020 13:34:49 +0000 (-0500) Subject: pan/midgard: Handle tag 0x4 as texture X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8784062abbc832ed09a53efbed3a87893aa0315a;p=mesa.git 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: --- 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 */