projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ab19a3
)
r300g: need to validate scissor and viewport state if bind new rasterizer
author
Cooper Yuan
<cooperyuan@gmail.com>
Sat, 5 Sep 2009 02:26:39 +0000
(10:26 +0800)
committer
Cooper Yuan
<cooperyuan@gmail.com>
Sat, 5 Sep 2009 02:26:39 +0000
(10:26 +0800)
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 c16cadd04079b778adce3448a6888e99c59dc9e2..5642aed663c09056e33c49085f3a12d7301e0b56 100644
(file)
--- a/
src/gallium/drivers/r300/r300_state.c
+++ b/
src/gallium/drivers/r300/r300_state.c
@@
-429,6
+429,8
@@
static void r300_bind_rs_state(struct pipe_context* pipe, void* state)
r300->rs_state = rs;
r300->dirty_state |= R300_NEW_RASTERIZER;
+ r300->dirty_state |= R300_NEW_SCISSOR;
+ r300->dirty_state |= R300_NEW_VIEWPORT;
}
/* Free rasterizer state. */