From: Rob Clark Date: Thu, 2 Jun 2016 14:49:18 +0000 (-0400) Subject: freedreno/a4xx: fix incorrect enum type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df64cd68144c52476a2fc2dce4e18e30ce098213;p=mesa.git 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 --- 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) {