diff options
author | Zou Nan hai <[email protected]> | 2007-07-30 10:18:11 +0800 |
---|---|---|
committer | Zou Nan hai <[email protected]> | 2007-07-30 10:18:11 +0800 |
commit | 60179434d15989b81e2d4757f34033009184a678 (patch) | |
tree | 9f959642de79b8b8a8f205da0b5a6c5372e3d6a2 /src/mesa/drivers/dri/i965/brw_sf.h | |
parent | e5213be78e50db07196facda9f2989d92b9429db (diff) |
ARB sprite point support on i965
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sf.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf.h b/src/mesa/drivers/dri/i965/brw_sf.h index fb72b84ba8a..e374e372bb0 100644 --- a/src/mesa/drivers/dri/i965/brw_sf.h +++ b/src/mesa/drivers/dri/i965/brw_sf.h @@ -50,9 +50,14 @@ struct brw_sf_prog_key { GLuint do_flat_shading:1; GLuint attrs:16; GLuint frontface_ccw:1; - GLuint pad:11; + GLuint do_point_sprite:1; + GLuint pad:10; + GLenum SpriteOrigin; }; +struct brw_sf_point_tex { + GLboolean CoordReplace; +}; struct brw_sf_compile { struct brw_compile func; @@ -94,12 +99,14 @@ struct brw_sf_compile { GLubyte attr_to_idx[VERT_RESULT_MAX]; GLubyte idx_to_attr[VERT_RESULT_MAX]; + struct brw_sf_point_tex point_attrs[VERT_RESULT_MAX]; }; void brw_emit_tri_setup( struct brw_sf_compile *c ); void brw_emit_line_setup( struct brw_sf_compile *c ); void brw_emit_point_setup( struct brw_sf_compile *c ); +void brw_emit_point_sprite_setup( struct brw_sf_compile *c ); void brw_emit_anyprim_setup( struct brw_sf_compile *c ); #endif |