summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_clip.h
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2011-08-24 19:51:54 -0700
committerPaul Berry <stereotype441@gmail.com>2011-09-06 11:05:05 -0700
commit514eeca32c37c8b4267edbd3c3657946536c639c (patch)
treeb501925ba3dd9318870cd8863d833f7df953bd20 /src/mesa/drivers/dri/i965/brw_clip.h
parent9660e3b788227de4aa15c42c5bbd48b85ad46d24 (diff)
downloadexternal_mesa3d-514eeca32c37c8b4267edbd3c3657946536c639c.zip
external_mesa3d-514eeca32c37c8b4267edbd3c3657946536c639c.tar.gz
external_mesa3d-514eeca32c37c8b4267edbd3c3657946536c639c.tar.bz2
i965: clip: Add VUE map computation to clip stage for Gen4-5.
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip.h b/src/mesa/drivers/dri/i965/brw_clip.h
index 3a8cd7b..ca2362c 100644
--- a/src/mesa/drivers/dri/i965/brw_clip.h
+++ b/src/mesa/drivers/dri/i965/brw_clip.h
@@ -55,7 +55,8 @@ struct brw_clip_prog_key {
GLuint copy_bfc_cw:1;
GLuint copy_bfc_ccw:1;
GLuint clip_mode:3;
- GLuint pad0:11;
+ GLuint do_twoside_color:1;
+ GLuint pad0:10;
GLfloat offset_factor;
GLfloat offset_units;
@@ -119,6 +120,8 @@ struct brw_clip_compile {
GLuint offset[VERT_RESULT_MAX];
/** Mapping from attribute index to VERT_RESULT_* */
GLuint idx_to_attr[VERT_RESULT_MAX];
+
+ struct brw_vue_map vue_map;
};
#define ATTR_SIZE (4*4)