diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-20 15:24:18 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-21 08:40:55 -0700 |
commit | 96f6b8a7075553ab8eb6cb2bc66350340573b3db (patch) | |
tree | bb198cf2a2a69dc87be32750d54085c159c54552 /src/panfrost/pandecode | |
parent | 024f9cf24ff012e6fdf582c2852b591d2d51d00d (diff) |
panfrost: nr_mipmap_levels -> levels
No need to be so verbose.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/pandecode')
-rw-r--r-- | src/panfrost/pandecode/decode.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 3a32d25cabe..4ebab6d466f 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -1790,9 +1790,10 @@ pandecode_texture(mali_ptr u, if (t->array_size) pandecode_log_cont("[%u]", t->array_size + 1); - pandecode_log_cont("\n"); + if (t->levels) + pandecode_log_cont(" mip %u", t->levels); - pandecode_prop("nr_mipmap_levels = %" PRId8, t->nr_mipmap_levels); + pandecode_log_cont("\n"); pandecode_log(".format = {\n"); pandecode_indent++; @@ -1837,7 +1838,7 @@ pandecode_texture(mali_ptr u, * properties, but dump extra * possibilities to futureproof */ - int bitmap_count = MALI_NEGATIVE(t->nr_mipmap_levels); + int bitmap_count = MALI_NEGATIVE(t->levels); bool manual_stride = f.usage2 & MALI_TEX_MANUAL_STRIDE; /* Miptree for each face */ |