projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
890ef62
)
vc4: Fix the argument type for cl_u16().
author
Eric Anholt
<eric@anholt.net>
Thu, 25 Dec 2014 19:35:46 +0000
(09:35 -1000)
committer
Eric Anholt
<eric@anholt.net>
Thu, 25 Dec 2014 22:25:41 +0000
(12:25 -1000)
It doesn't matter, since it just got truncated to 16 inside, anyway.
src/gallium/drivers/vc4/vc4_cl.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_cl.h
b/src/gallium/drivers/vc4/vc4_cl.h
index
33b3729
..
36df11b
100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_cl.h
+++ b/
src/gallium/drivers/vc4/vc4_cl.h
@@
-55,7
+55,7
@@
cl_u8(struct vc4_cl *cl, uint8_t n)
}
static inline void
-cl_u16(struct vc4_cl *cl, uint
32
_t n)
+cl_u16(struct vc4_cl *cl, uint
16
_t n)
{
assert((cl->next - cl->base) + 2 <= cl->size);