freedreno/a6xx: Add missing adjacency primitives to table
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 10 Oct 2019 22:24:10 +0000 (15:24 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Thu, 17 Oct 2019 20:43:53 +0000 (13:43 -0700)
Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/drivers/freedreno/a6xx/fd6_context.c

index f2e8e4eaf3d4ead3c4962ac806c917bcbbee42ae..aa86af5c050aa2ba9d65da06356e3d3da76a7a8a 100644 (file)
@@ -66,14 +66,18 @@ fd6_context_destroy(struct pipe_context *pctx)
 }
 
 static const uint8_t primtypes[] = {
-               [PIPE_PRIM_POINTS]         = DI_PT_POINTLIST,
-               [PIPE_PRIM_LINES]          = DI_PT_LINELIST,
-               [PIPE_PRIM_LINE_STRIP]     = DI_PT_LINESTRIP,
-               [PIPE_PRIM_LINE_LOOP]      = DI_PT_LINELOOP,
-               [PIPE_PRIM_TRIANGLES]      = DI_PT_TRILIST,
-               [PIPE_PRIM_TRIANGLE_STRIP] = DI_PT_TRISTRIP,
-               [PIPE_PRIM_TRIANGLE_FAN]   = DI_PT_TRIFAN,
-               [PIPE_PRIM_MAX]            = DI_PT_RECTLIST,  /* internal clear blits */
+               [PIPE_PRIM_POINTS]                      = DI_PT_POINTLIST,
+               [PIPE_PRIM_LINES]                       = DI_PT_LINELIST,
+               [PIPE_PRIM_LINE_STRIP]                  = DI_PT_LINESTRIP,
+               [PIPE_PRIM_LINE_LOOP]                   = DI_PT_LINELOOP,
+               [PIPE_PRIM_TRIANGLES]                   = DI_PT_TRILIST,
+               [PIPE_PRIM_TRIANGLE_STRIP]              = DI_PT_TRISTRIP,
+               [PIPE_PRIM_TRIANGLE_FAN]                = DI_PT_TRIFAN,
+               [PIPE_PRIM_LINES_ADJACENCY]             = DI_PT_LINE_ADJ,
+               [PIPE_PRIM_LINE_STRIP_ADJACENCY]        = DI_PT_LINESTRIP_ADJ,
+               [PIPE_PRIM_TRIANGLES_ADJACENCY]         = DI_PT_TRI_ADJ,
+               [PIPE_PRIM_TRIANGLE_STRIP_ADJACENCY]    = DI_PT_TRISTRIP_ADJ,
+               [PIPE_PRIM_MAX]                         = DI_PT_RECTLIST,  /* internal clear blits */
 };
 
 struct pipe_context *