diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-04-21 16:20:55 -0400 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2020-04-24 06:55:02 +0200 |
commit | 36d49b1fb18a9b401c47d53ab75942d496c40e1c (patch) | |
tree | 3f4bcf4a2002e0fdddb3360009feffb111f96ea4 /src/panfrost/encoder/pan_texture.c | |
parent | ad4024968eedebc4fd05322c3346c30aa5d4d56d (diff) |
panfrost: Identify texture layout field
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4680>
Diffstat (limited to 'src/panfrost/encoder/pan_texture.c')
-rw-r--r-- | src/panfrost/encoder/pan_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/encoder/pan_texture.c b/src/panfrost/encoder/pan_texture.c index b0b630c7b93..147cf41c948 100644 --- a/src/panfrost/encoder/pan_texture.c +++ b/src/panfrost/encoder/pan_texture.c @@ -271,7 +271,7 @@ panfrost_new_texture_bifrost( descriptor->width = MALI_POSITIVE(u_minify(width, first_level)); descriptor->height = MALI_POSITIVE(u_minify(height, first_level)); descriptor->swizzle = swizzle; - descriptor->unk0 = 0x1; + descriptor->layout = layout; descriptor->levels = last_level - first_level; descriptor->unk1 = 0x0; descriptor->levels_unk = 0; |