~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/drivers/freedreno/a3xx/fd3_screen.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
 
97
97
/* clang-format off */
98
98
static const enum pc_di_primtype primtypes[] = {
99
 
   [PIPE_PRIM_POINTS]         = DI_PT_POINTLIST,
100
 
   [PIPE_PRIM_LINES]          = DI_PT_LINELIST,
101
 
   [PIPE_PRIM_LINE_STRIP]     = DI_PT_LINESTRIP,
102
 
   [PIPE_PRIM_LINE_LOOP]      = DI_PT_LINELOOP,
103
 
   [PIPE_PRIM_TRIANGLES]      = DI_PT_TRILIST,
104
 
   [PIPE_PRIM_TRIANGLE_STRIP] = DI_PT_TRISTRIP,
105
 
   [PIPE_PRIM_TRIANGLE_FAN]   = DI_PT_TRIFAN,
106
 
   [PIPE_PRIM_MAX]            = DI_PT_RECTLIST,  /* internal clear blits */
 
99
   [MESA_PRIM_POINTS]         = DI_PT_POINTLIST,
 
100
   [MESA_PRIM_LINES]          = DI_PT_LINELIST,
 
101
   [MESA_PRIM_LINE_STRIP]     = DI_PT_LINESTRIP,
 
102
   [MESA_PRIM_LINE_LOOP]      = DI_PT_LINELOOP,
 
103
   [MESA_PRIM_TRIANGLES]      = DI_PT_TRILIST,
 
104
   [MESA_PRIM_TRIANGLE_STRIP] = DI_PT_TRISTRIP,
 
105
   [MESA_PRIM_TRIANGLE_FAN]   = DI_PT_TRIFAN,
 
106
   [MESA_PRIM_COUNT]            = DI_PT_RECTLIST,  /* internal clear blits */
107
107
};
108
108
/* clang-format on */
109
109