summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-20 15:24:18 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-21 08:40:55 -0700
commit96f6b8a7075553ab8eb6cb2bc66350340573b3db (patch)
treebb198cf2a2a69dc87be32750d54085c159c54552 /src/gallium/drivers/panfrost
parent024f9cf24ff012e6fdf582c2852b591d2d51d00d (diff)
panfrost: nr_mipmap_levels -> levels
No need to be so verbose. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index e8411ced014..1642bb436fa 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -2316,7 +2316,7 @@ panfrost_create_sampler_view(
.swizzle = panfrost_translate_swizzle_4(user_swizzle)
};
- texture_descriptor.nr_mipmap_levels = last_level - first_level;
+ texture_descriptor.levels = last_level - first_level;
so->hw = texture_descriptor;