projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29289b4
)
llvmpipe: s/boolean/unsigned/ in bitfield to silence warning
author
Brian Paul
<brianp@vmware.com>
Wed, 15 Sep 2010 18:49:11 +0000
(12:49 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 15 Sep 2010 18:49:13 +0000
(12:49 -0600)
Using non-int types for bitfields is a gcc extension.
The size of the struct is not effected by this change.
src/gallium/drivers/llvmpipe/lp_rast.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_rast.h
b/src/gallium/drivers/llvmpipe/lp_rast.h
index 576766793544b9425d5142609c16e6c6676fe95d..c55b97a9d13af4a53eaec02e611f8221e38923af 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/
src/gallium/drivers/llvmpipe/lp_rast.h
@@
-79,8
+79,8
@@
struct lp_rast_state {
*/
struct lp_rast_shader_inputs {
float facing; /** Positive for front-facing, negative for back-facing */
-
boolean
disable:1; /** Partially binned, disable this command */
-
boolean
opaque:1; /** Is opaque */
+
unsigned
disable:1; /** Partially binned, disable this command */
+
unsigned
opaque:1; /** Is opaque */
float (*a0)[4];
float (*dadx)[4];