diff options
author | Brian Paul <[email protected]> | 2009-01-29 11:10:56 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-29 11:10:56 -0700 |
commit | d3aa16d92f1eb228daaa49810e113d2aed06aefd (patch) | |
tree | ea310259fbbbfe77bde5027191541330dfee7501 /src/mesa | |
parent | 818bda3d7428469d7c29ebc08c31c30a877747e1 (diff) |
i965: use bitfields in brw_sf_unit_key struct
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sf_state.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf_state.c b/src/mesa/drivers/dri/i965/brw_sf_state.c index 47bd732d3c4..8fe7b22afb6 100644 --- a/src/mesa/drivers/dri/i965/brw_sf_state.c +++ b/src/mesa/drivers/dri/i965/brw_sf_state.c @@ -121,10 +121,13 @@ struct brw_sf_unit_key { unsigned int nr_urb_entries, urb_size, sfsize; GLenum front_face, cull_face; - GLboolean scissor, line_smooth, point_sprite, point_attenuated; + unsigned scissor:1; + unsigned line_smooth:1; + unsigned point_sprite:1; + unsigned point_attenuated:1; + unsigned render_to_fbo:1; float line_width; float point_size; - GLboolean render_to_fbo; }; static void |