Mesa (master): r300g: fix point sprite coord.
Dave Airlie
airlied at kemper.freedesktop.org
Thu Sep 23 21:51:48 UTC 2010
Module: Mesa
Branch: master
Commit: c0c0c4b96b0174f1750c1e78bb12de65ec577bbf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0c0c4b96b0174f1750c1e78bb12de65ec577bbf
Author: Dave Airlie <airlied at redhat.com>
Date: Fri Sep 24 07:45:45 2010 +1000
r300g: fix point sprite coord.
handled elsewhere now.
thanks to Droste on irc for pointing out the fix
---
src/gallium/drivers/r300/r300_state.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 8ccb639..d6cded9 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -950,10 +950,8 @@ static void* r300_create_rs_state(struct pipe_context* pipe,
rs->rs = *state;
rs->rs_draw = *state;
- /* Generate point sprite texture coordinates in GENERIC0
- * if point_quad_rasterization is TRUE. */
rs->rs.sprite_coord_enable = state->point_quad_rasterization *
- (state->sprite_coord_enable | 1);
+ state->sprite_coord_enable;
/* Override some states for Draw. */
rs->rs_draw.sprite_coord_enable = 0; /* We can do this in HW. */
More information about the mesa-commit
mailing list