projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1632b0e
)
freedreno/a4xx: fix incorrect enum type
author
Rob Clark
<robclark@freedesktop.org>
Thu, 2 Jun 2016 14:49:18 +0000
(10:49 -0400)
committer
Rob Clark
<robclark@freedesktop.org>
Thu, 2 Jun 2016 19:44:07 +0000
(15:44 -0400)
a4xx has it's own enum, different from a2xx/a3xx.
Spotted by coverity: CID
1362458
,
1362459
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a4xx/fd4_draw.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a4xx/fd4_draw.h
b/src/gallium/drivers/freedreno/a4xx/fd4_draw.h
index 2b23e33b42fe0f7ae0c8938f1d62985fa6dbbe21..c850c242ce438da3f8cf06ede7dbf281c11280d2 100644
(file)
--- 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) {