diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-22 11:21:35 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-22 12:56:49 -0700 |
commit | 26ed431ea9ca3f4bf05627a463ea947318da25bd (patch) | |
tree | fc90852df3523fa94b2ab04c0db80627d07e4482 | |
parent | f48136e9c5a72f97f4035d64aae00d9dfc0cdb67 (diff) |
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 <[email protected]>
-rw-r--r-- | src/panfrost/pandecode/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |