projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818bda3
)
i965: use bitfields in brw_sf_unit_key struct
author
Brian Paul
<brianp@vmware.com>
Thu, 29 Jan 2009 18:10:56 +0000
(11:10 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 29 Jan 2009 18:10:56 +0000
(11:10 -0700)
src/mesa/drivers/dri/i965/brw_sf_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_sf_state.c
b/src/mesa/drivers/dri/i965/brw_sf_state.c
index 47bd732d3c46e2fdee94216ee39f433e809ba062..8fe7b22afb69ddcc5bbb8e6e9eeea122cbc42968 100644
(file)
--- 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