From: Alyssa Rosenzweig Date: Thu, 22 Aug 2019 18:21:35 +0000 (-0700) Subject: pan/decode: Decode actual varying_meta address X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26ed431ea9ca3f4bf05627a463ea947318da25bd;p=platform%2Fupstream%2Fmesa.git 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 --- diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index d6b5404..5d68971 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);