diff options
author | Rob Clark <[email protected]> | 2016-06-02 10:49:18 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-06-02 15:44:07 -0400 |
commit | df64cd68144c52476a2fc2dce4e18e30ce098213 (patch) | |
tree | 0b6b8052d7d2b5690898bfbf8c55ea23bf25c7f3 /src | |
parent | 1632b0eac02cd8911c04115cb6b4693f7dcb16bb (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_draw.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |