diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_screen.c b/src/gallium/drivers/freedreno/a3xx/fd3_screen.c index fe1911d6301..9f77c1981e1 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_screen.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_screen.c @@ -85,7 +85,7 @@ static const enum pc_di_primtype primtypes[] = { [MESA_PRIM_TRIANGLES] = DI_PT_TRILIST, [MESA_PRIM_TRIANGLE_STRIP] = DI_PT_TRISTRIP, [MESA_PRIM_TRIANGLE_FAN] = DI_PT_TRIFAN, - [MESA_PRIM_COUNT] = DI_PT_RECTLIST, /* internal clear blits */ + [MESA_PRIM_COUNT] = DI_PT_RECTLIST, /* internal clear blits */ }; /* clang-format on */ diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_screen.c b/src/gallium/drivers/freedreno/a5xx/fd5_screen.c index 3ba8c7a58b8..a2371347662 100644 --- a/src/gallium/drivers/freedreno/a5xx/fd5_screen.c +++ b/src/gallium/drivers/freedreno/a5xx/fd5_screen.c @@ -110,7 +110,7 @@ static const enum pc_di_primtype primtypes[] = { [MESA_PRIM_TRIANGLES] = DI_PT_TRILIST, [MESA_PRIM_TRIANGLE_STRIP] = DI_PT_TRISTRIP, [MESA_PRIM_TRIANGLE_FAN] = DI_PT_TRIFAN, - [MESA_PRIM_COUNT] = DI_PT_RECTLIST, /* internal clear blits */ + [MESA_PRIM_COUNT] = DI_PT_RECTLIST, /* internal clear blits */ }; /* clang-format on */ diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_blitter.cc b/src/gallium/drivers/freedreno/a6xx/fd6_blitter.cc index 08cbadb4d9c..b8adfdacd1c 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_blitter.cc +++ b/src/gallium/drivers/freedreno/a6xx/fd6_blitter.cc @@ -1537,6 +1537,7 @@ fd6_tile_mode_for_format(enum pipe_format pfmt) return TILE6_LINEAR; } + unsigned fd6_tile_mode(const struct pipe_resource *tmpl) {