summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_sf.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-29 16:02:35 -0600
committerBrian Paul <brianp@vmware.com>2009-10-29 16:31:56 -0600
commit26d22b094bb7b2f37d4bc8edfeb1b2a9a1c96d88 (patch)
treec52a52303628e2d0381aae62da4cce30dcdce2c0 /src/mesa/drivers/dri/i965/brw_sf.h
parent035b21f365f563cba9bf9b8cb4fef613ceb9d3ac (diff)
i965: make brw_sf_prog_key::sprite_origin_lower_left one bit
Shrinks size of key to 8 bytes from 12. Note that progs/demos/spriteblast.c is still broken.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_sf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf.h b/src/mesa/drivers/dri/i965/brw_sf.h
index 6426b6df9f..e415bbd775 100644
--- a/src/mesa/drivers/dri/i965/brw_sf.h
+++ b/src/mesa/drivers/dri/i965/brw_sf.h
@@ -52,8 +52,8 @@ struct brw_sf_prog_key {
GLuint frontface_ccw:1;
GLuint do_point_sprite:1;
GLuint linear_color:1; /**< linear interp vs. perspective interp */
- GLuint pad:25;
- GLenum SpriteOrigin;
+ GLuint sprite_origin_lower_left:1;
+ GLuint pad:24;
};
struct brw_sf_point_tex {