mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
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:
parent
1632b0eac0
commit
df64cd6814
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
fd4_size2indextype(unsigned index_size)
|
||||||
{
|
{
|
||||||
switch (index_size) {
|
switch (index_size) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue