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 <alyssa.rosenzweig@collabora.com>
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5474>
This commit is contained in:
Alyssa Rosenzweig
2020-06-15 12:37:40 -04:00
committed by Marge Bot
parent 65e0e891d2
commit 6b1498f7ac
+1 -1
View File
@@ -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;