Mesa (master): panfrost: List primitive restart enable bit

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Mar 4 05:05:27 UTC 2019


Module: Mesa
Branch: master
Commit: 72981c92ce806d48d1d7955a119abc38968fd2c7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72981c92ce806d48d1d7955a119abc38968fd2c7

Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date:   Wed Feb 27 04:33:13 2019 +0000

panfrost: List primitive restart enable bit

Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>

---

 src/gallium/drivers/panfrost/include/panfrost-job.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/panfrost/include/panfrost-job.h b/src/gallium/drivers/panfrost/include/panfrost-job.h
index 1d738486617..d719325d07b 100644
--- a/src/gallium/drivers/panfrost/include/panfrost-job.h
+++ b/src/gallium/drivers/panfrost/include/panfrost-job.h
@@ -820,10 +820,12 @@ struct mali_uniform_buffer_meta {
  */
 
 /* Applies to unknown_draw */
+
 #define MALI_DRAW_INDEXED_UINT8  (0x10)
 #define MALI_DRAW_INDEXED_UINT16 (0x20)
 #define MALI_DRAW_INDEXED_UINT32 (0x30)
 #define MALI_DRAW_VARYING_SIZE   (0x100)
+#define MALI_DRAW_PRIMITIVE_RESTART_FIXED_INDEX (0x10000)
 
 struct mali_vertex_tiler_prefix {
         /* This is a dynamic bitfield containing the following things in this order:




More information about the mesa-commit mailing list