summaryrefslogtreecommitdiff
path: root/src/panfrost/include
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2019-08-21 16:06:23 -0700
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2019-08-22 12:56:04 -0700
commitf38ce6ea8cd1dd4af4c698e98c32d93cbce92ae4 (patch)
treedd3398c9e17e5c3a83c81481d7a258ea2448dcdb /src/panfrost/include
parentcbbf75424a2fe6dc258781fe0ac9c1f4f6d0292e (diff)
downloadmesa-f38ce6ea8cd1dd4af4c698e98c32d93cbce92ae4.tar.gz
pan/decode: Validate, but do not print, index buffer
We don't actually care about the *contents* of the index buffer, but we would rather like to ensure it is present and of the correct size. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r--src/panfrost/include/panfrost-job.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h
index 21debf0ac71..b19bfacf129 100644
--- a/src/panfrost/include/panfrost-job.h
+++ b/src/panfrost/include/panfrost-job.h
@@ -904,6 +904,9 @@ struct mali_uniform_buffer_meta {
#define MALI_DRAW_INDEXED_UINT8 (0x10)
#define MALI_DRAW_INDEXED_UINT16 (0x20)
#define MALI_DRAW_INDEXED_UINT32 (0x30)
+#define MALI_DRAW_INDEXED_SIZE (0x30)
+#define MALI_DRAW_INDEXED_SHIFT (4)
+
#define MALI_DRAW_VARYING_SIZE (0x100)
#define MALI_DRAW_PRIMITIVE_RESTART_FIXED_INDEX (0x10000)