diff options
author | Brian Paul <[email protected]> | 2010-09-15 12:51:09 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-15 12:51:09 -0600 |
commit | 68cfc8e996fc33ec680c4153e862dcc762e760fc (patch) | |
tree | f2c8809000b637f181832aa44d1a043f10962dbd /src/gallium/drivers/nv50/nv50_program.h | |
parent | 3085efabb18f76f369249fe1ad85665a5f9d1a60 (diff) |
nv50: use unsigned int for bitfields to silence warnings
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_program.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.h b/src/gallium/drivers/nv50/nv50_program.h index 97d2933c3ee..c92af317f43 100644 --- a/src/gallium/drivers/nv50/nv50_program.h +++ b/src/gallium/drivers/nv50/nv50_program.h @@ -32,9 +32,9 @@ struct nv50_varying { uint8_t id; /* tgsi index */ uint8_t hw; /* hw index, nv50 wants flat FP inputs last */ - uint8_t mask : 4; - uint8_t linear : 1; - uint8_t pad : 3; + unsigned mask : 4; + unsigned linear : 1; + unsigned pad : 3; ubyte sn; /* semantic name */ ubyte si; /* semantic index */ |