From: Dave Airlie Date: Thu, 23 Sep 2010 21:45:45 +0000 (+1000) Subject: r300g: fix point sprite coord. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0c0c4b96b0174f1750c1e78bb12de65ec577bbf;p=mesa.git r300g: fix point sprite coord. handled elsewhere now. thanks to Droste on irc for pointing out the fix --- diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 8ccb63964e7..d6cded927a1 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. */