OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e0fb49
)
draw: Do not specify types in bitfields.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 30 Dec 2008 17:21:15 +0000
(17:21 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 30 Dec 2008 17:21:15 +0000
(17:21 +0000)
As advised by gcc -pedantic.
src/gallium/auxiliary/draw/draw_vertex.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_vertex.h
b/src/gallium/auxiliary/draw/draw_vertex.h
index
a943607
..
c143cf2
100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_vertex.h
+++ b/
src/gallium/auxiliary/draw/draw_vertex.h
@@
-81,9
+81,9
@@
struct vertex_info
* memcmp() comparisons.
*/
struct {
- u
byte
interp_mode:4; /**< INTERP_x */
- u
byte
emit:4; /**< EMIT_x */
- u
byte src_index
; /**< map to post-xform attribs */
+ u
nsigned
interp_mode:4; /**< INTERP_x */
+ u
nsigned
emit:4; /**< EMIT_x */
+ u
nsigned src_index:8
; /**< map to post-xform attribs */
} attrib[PIPE_MAX_SHADER_INPUTS];
};