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 <robclark@freedesktop.org>
This commit is contained in:
Rob Clark 2016-06-02 10:49:18 -04:00
parent 1632b0eac0
commit df64cd6814
1 changed files with 1 additions and 1 deletions

View File

@ -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) {