}
/* clang-format off */
-static const uint8_t a22x_primtypes[PIPE_PRIM_MAX] = {
+static const enum pc_di_primtype a22x_primtypes[PIPE_PRIM_MAX] = {
[PIPE_PRIM_POINTS] = DI_PT_POINTLIST_PSIZE,
[PIPE_PRIM_LINES] = DI_PT_LINELIST,
[PIPE_PRIM_LINE_STRIP] = DI_PT_LINESTRIP,
[PIPE_PRIM_TRIANGLE_FAN] = DI_PT_TRIFAN,
};
-static const uint8_t a20x_primtypes[PIPE_PRIM_MAX] = {
+static const enum pc_di_primtype a20x_primtypes[PIPE_PRIM_MAX] = {
[PIPE_PRIM_POINTS] = DI_PT_POINTLIST_PSIZE,
[PIPE_PRIM_LINES] = DI_PT_LINELIST,
[PIPE_PRIM_LINE_STRIP] = DI_PT_LINESTRIP,
}
/* clang-format off */
-static const uint8_t primtypes[] = {
+static const enum pc_di_primtype primtypes[] = {
[PIPE_PRIM_POINTS] = DI_PT_POINTLIST,
[PIPE_PRIM_LINES] = DI_PT_LINELIST,
[PIPE_PRIM_LINE_STRIP] = DI_PT_LINESTRIP,
}
/* clang-format off */
-static const uint8_t primtypes[] = {
+static const enum pc_di_primtype primtypes[] = {
[PIPE_PRIM_POINTS] = DI_PT_POINTLIST,
[PIPE_PRIM_LINES] = DI_PT_LINELIST,
[PIPE_PRIM_LINE_STRIP] = DI_PT_LINESTRIP,
}
/* clang-format off */
-static const uint8_t primtypes[] = {
+static const enum pc_di_primtype primtypes[] = {
[PIPE_PRIM_POINTS] = DI_PT_POINTLIST,
[PIPE_PRIM_LINES] = DI_PT_LINELIST,
[PIPE_PRIM_LINE_STRIP] = DI_PT_LINESTRIP,
}
/* clang-format off */
-static const uint8_t primtypes[] = {
+static const enum pc_di_primtype primtypes[] = {
[PIPE_PRIM_POINTS] = DI_PT_POINTLIST,
[PIPE_PRIM_LINES] = DI_PT_LINELIST,
[PIPE_PRIM_LINE_STRIP] = DI_PT_LINESTRIP,
* internal RECTLIST primtype, if available, used for blits/
* clears.
*/
- const uint8_t *primtypes;
+ const enum pc_di_primtype *primtypes;
uint32_t primtypes_mask;
};