aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_sf.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-10-26 00:20:33 +0000
committerKeith Whitwell <[email protected]>2009-10-26 00:20:33 +0000
commit09c231f84a20a306a173b60c82484ce1f9331edf (patch)
tree1faaa20dc34e1d2b019f14c8ea0accd5ce558808 /src/gallium/drivers/i965/brw_sf.h
parent590949553f737902008dea020420311e2085aa1a (diff)
i965g: still working on compilation
Diffstat (limited to 'src/gallium/drivers/i965/brw_sf.h')
-rw-r--r--src/gallium/drivers/i965/brw_sf.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gallium/drivers/i965/brw_sf.h b/src/gallium/drivers/i965/brw_sf.h
index c99116b8b1b..0b7003dc5ef 100644
--- a/src/gallium/drivers/i965/brw_sf.h
+++ b/src/gallium/drivers/i965/brw_sf.h
@@ -49,14 +49,21 @@ struct brw_sf_prog_key {
*/
GLuint persp_attrs:32;
GLuint linear_attrs:32;
+ GLuint point_coord_replace_attrs:32;
+ GLuint nr_attrs:8;
GLuint primitive:2;
GLuint do_twoside_color:1;
GLuint do_flat_shading:1;
GLuint frontface_ccw:1;
GLuint do_point_sprite:1;
GLuint sprite_origin_lower_left:1;
- GLuint pad:25;
+ GLuint pad:17;
+
+ GLuint attr_col0:8;
+ GLuint attr_col1:8;
+ GLuint attr_bfc0:8;
+ GLuint attr_bfc1:8;
};
struct brw_sf_point_tex {
@@ -101,9 +108,7 @@ struct brw_sf_compile {
GLuint nr_setup_attrs;
GLuint nr_setup_regs;
- GLubyte attr_to_idx[VERT_RESULT_MAX];
- GLubyte idx_to_attr[VERT_RESULT_MAX];
- struct brw_sf_point_tex point_attrs[VERT_RESULT_MAX];
+ GLuint point_coord_replace_mask;
};