From 26ed431ea9ca3f4bf05627a463ea947318da25bd Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 22 Aug 2019 11:21:35 -0700 Subject: [PATCH] pan/decode: Decode actual varying_meta address I don't know who thought this mask was a good idea but unfortunately it must have been me. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/pandecode/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index d6b5404de10..5d689711a7b 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -1493,7 +1493,7 @@ pandecode_attribute_meta(int job_no, int count, const struct mali_vertex_tiler_p snprintf(base, sizeof(base), "%s_meta", prefix); struct mali_attr_meta *attr_meta; - mali_ptr p = varying ? (v->varying_meta & ~0xF) : v->attribute_meta; + mali_ptr p = varying ? v->varying_meta : v->attribute_meta; struct pandecode_mapped_memory *attr_mem = pandecode_find_mapped_gpu_mem_containing(p); -- 2.30.2