projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b360c05
)
r300g: fix point sprite coord.
author
Dave Airlie
<airlied@redhat.com>
Thu, 23 Sep 2010 21:45:45 +0000
(07:45 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 23 Sep 2010 21:46:59 +0000
(07:46 +1000)
handled elsewhere now.
thanks to Droste on irc for pointing out the fix
src/gallium/drivers/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_state.c
b/src/gallium/drivers/r300/r300_state.c
index 8ccb63964e78882886ce274c1453165d937d0550..d6cded927a18740f0032fe4bbcc0e6c6c395ce88 100644
(file)
--- 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. */