summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_pc.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-09-15 12:51:09 -0600
committerBrian Paul <brianp@vmware.com>2010-09-15 12:51:09 -0600
commit68cfc8e996fc33ec680c4153e862dcc762e760fc (patch)
treef2c8809000b637f181832aa44d1a043f10962dbd /src/gallium/drivers/nv50/nv50_pc.h
parent3085efabb18f76f369249fe1ad85665a5f9d1a60 (diff)
nv50: use unsigned int for bitfields to silence warnings
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_pc.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_pc.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gallium/drivers/nv50/nv50_pc.h b/src/gallium/drivers/nv50/nv50_pc.h
index 92c6be5f6e..080f99f378 100644
--- a/src/gallium/drivers/nv50/nv50_pc.h
+++ b/src/gallium/drivers/nv50/nv50_pc.h
@@ -239,23 +239,23 @@ struct nv_instruction {
struct nv_basic_block *bb;
struct nv_basic_block *target; /* target block of control flow insn */
ubyte cc;
- ubyte set_cond : 4;
- ubyte fixed : 1; /* don't optimize away */
- ubyte is_terminator : 1;
- ubyte is_join : 1;
- ubyte is_long : 1; /* for emission */
+ unsigned set_cond : 4;
+ unsigned fixed : 1; /* don't optimize away */
+ unsigned is_terminator : 1;
+ unsigned is_join : 1;
+ unsigned is_long : 1; /* for emission */
/* */
- ubyte saturate : 1;
- ubyte centroid : 1;
- ubyte flat : 1;
- ubyte lanes : 4;
- ubyte tex_live : 1;
+ unsigned saturate : 1;
+ unsigned centroid : 1;
+ unsigned flat : 1;
+ unsigned lanes : 4;
+ unsigned tex_live : 1;
/* */
ubyte tex_t; /* TIC binding */
ubyte tex_s; /* TSC binding */
- ubyte tex_argc : 3;
- ubyte tex_cube : 1;
- ubyte tex_mask : 4;
+ unsigned tex_argc : 3;
+ unsigned tex_cube : 1;
+ unsigned tex_mask : 4;
/* */
ubyte quadop;
};