From df64cd68144c52476a2fc2dce4e18e30ce098213 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 2 Jun 2016 10:49:18 -0400 Subject: [PATCH] freedreno/a4xx: fix incorrect enum type a4xx has it's own enum, different from a2xx/a3xx. Spotted by coverity: CID 1362458, 1362459 Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/a4xx/fd4_draw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_draw.h b/src/gallium/drivers/freedreno/a4xx/fd4_draw.h index 2b23e33b42f..c850c242ce4 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_draw.h +++ b/src/gallium/drivers/freedreno/a4xx/fd4_draw.h @@ -88,7 +88,7 @@ fd4_draw(struct fd_context *ctx, struct fd_ringbuffer *ring, } -static inline enum pc_di_index_size +static inline enum a4xx_index_size fd4_size2indextype(unsigned index_size) { switch (index_size) { -- 2.30.2