From: Marek Olšák Date: Mon, 26 Apr 2010 18:53:17 +0000 (+0200) Subject: r300g: disable point sprites (again) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e0f1719d411b34f77fd2a053ecf83b43bb836ca;p=mesa.git r300g: disable point sprites (again) They cause lockups. The users doesn't seem to like them. --- diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index e8171e94903..b90c99c9d97 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -853,8 +853,11 @@ static void* r300_create_rs_state(struct pipe_context* pipe, rs->clip_rule = state->scissor ? 0xAAAA : 0xFFFF; + /* XXX Disable point sprites until we know what's wrong with them. */ + rs->rs.sprite_coord_enable = 0; + /* Point sprites */ - if (state->sprite_coord_enable) { + if (rs->rs.sprite_coord_enable) { rs->stuffing_enable = R300_GB_POINT_STUFF_ENABLE; for (i = 0; i < 8; i++) { if (state->sprite_coord_enable & (1 << i))