diff options
author | Roland Scheidegger <[email protected]> | 2009-11-11 17:57:56 -0800 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2009-11-11 17:57:56 -0800 |
commit | ab12e764ba3f57ad9f0d7252262cfc6e07839928 (patch) | |
tree | eb28587f848d3a70dad5816708667c5c4d7181d9 /src/mesa/drivers/dri/i965/brw_clip.h | |
parent | 1220aba99bc78290bb89ade649719508e3031e4b (diff) |
i965: fix EXT_provoking_vertex support
This didn't work for quad/quadstrips at all, and for all other primitive types
it only worked when they were unclipped.
Fix up the former in gs stage (could probably do without these changes and
instead set QuadsFollowProvokingVertexConvention to false), and the rest in
clip stage.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clip.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip.h b/src/mesa/drivers/dri/i965/brw_clip.h index 957df441ab0..dc550ac7933 100644 --- a/src/mesa/drivers/dri/i965/brw_clip.h +++ b/src/mesa/drivers/dri/i965/brw_clip.h @@ -46,18 +46,17 @@ struct brw_clip_prog_key { GLuint primitive:4; GLuint nr_userclip:3; GLuint do_flat_shading:1; + GLuint pv_first:1; GLuint do_unfilled:1; GLuint fill_cw:2; /* includes cull information */ GLuint fill_ccw:2; /* includes cull information */ GLuint offset_cw:1; GLuint offset_ccw:1; - GLuint pad0:17; - GLuint copy_bfc_cw:1; GLuint copy_bfc_ccw:1; GLuint clip_mode:3; - GLuint pad1:27; - + GLuint pad0:11; + GLfloat offset_factor; GLfloat offset_units; }; |