projects
/
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 33b372984065d6af6b06773c9f0abe6202967f1c..36df11b5aedf33b2a6b3dd59c8a048131656dbe0 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);