projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
304b9e2
)
r300g: disable point sprites (again)
author
Marek Olšák
<maraeo@gmail.com>
Mon, 26 Apr 2010 18:53:17 +0000
(20:53 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 26 Apr 2010 18:53:17 +0000
(20:53 +0200)
They cause lockups. The users doesn't seem to like them.
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
e8171e9
..
b90c99c
100644
(file)
--- 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))