mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i965: use bitfields in brw_sf_unit_key struct
This commit is contained in:
parent
818bda3d74
commit
d3aa16d92f
1 changed files with 5 additions and 2 deletions
|
|
@ -121,10 +121,13 @@ struct brw_sf_unit_key {
|
||||||
unsigned int nr_urb_entries, urb_size, sfsize;
|
unsigned int nr_urb_entries, urb_size, sfsize;
|
||||||
|
|
||||||
GLenum front_face, cull_face;
|
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 line_width;
|
||||||
float point_size;
|
float point_size;
|
||||||
GLboolean render_to_fbo;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue