summaryrefslogtreecommitdiffstats
path: root/src/panfrost/include
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-04-21 16:20:55 -0400
committerTomeu Vizoso <[email protected]>2020-04-24 06:55:02 +0200
commit36d49b1fb18a9b401c47d53ab75942d496c40e1c (patch)
tree3f4bcf4a2002e0fdddb3360009feffb111f96ea4 /src/panfrost/include
parentad4024968eedebc4fd05322c3346c30aa5d4d56d (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/include')
-rw-r--r--src/panfrost/include/panfrost-job.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h
index 5ff3007dbf3..7ab4b4749a8 100644
--- a/src/panfrost/include/panfrost-job.h
+++ b/src/panfrost/include/panfrost-job.h
@@ -1255,7 +1255,7 @@ struct bifrost_texture_descriptor {
/* OpenGL swizzle */
unsigned swizzle : 12;
- unsigned unk0 : 4; /* 1 */
+ enum mali_texture_layout layout : 4;
uint8_t levels : 8; /* Number of levels-1 if mipmapped, 0 if not */
unsigned unk1 : 4;