aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-06-15 12:37:40 -0400
committerMarge Bot <[email protected]>2020-06-15 21:41:18 +0000
commit6b1498f7acaee3326559bdd3b3d46635e6ae60d6 (patch)
tree93d2e00337bad1e524f9c232621c8de9d6ecf50c /src
parent65e0e891d242b3f5e115837f0dfb67779b10f880 (diff)
panfrost: Fix level_2
We're not sure what this is but I've always seen it equal to levels. Signed-off-by: Alyssa Rosenzweig <[email protected]> Tested-by: Christian Hewitt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5474>
Diffstat (limited to 'src')
-rw-r--r--src/panfrost/encoder/pan_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/encoder/pan_texture.c b/src/panfrost/encoder/pan_texture.c
index cfd66c78c43..59c08097196 100644
--- a/src/panfrost/encoder/pan_texture.c
+++ b/src/panfrost/encoder/pan_texture.c
@@ -345,7 +345,7 @@ panfrost_new_texture_bifrost(
descriptor->levels = last_level - first_level;
descriptor->unk1 = 0x0;
descriptor->levels_unk = 0;
- descriptor->level_2 = 0;
+ descriptor->level_2 = last_level - first_level;
descriptor->payload = payload->gpu;
descriptor->array_size = MALI_POSITIVE(array_size);
descriptor->unk4 = 0x0;