projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dd6830
)
r300g: fix up the CS size of the rasterizer state
author
Marek Olšák
<maraeo@gmail.com>
Sat, 19 Jun 2010 02:04:21 +0000
(
04:04
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 19 Jun 2010 03:14:18 +0000
(
05:14
+0200)
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 ed0dbe84da68dbf1ce37f47d2225a0a385b6bf85..e1149d738686a7838b2bc1bda7a4051ee894ca4a 100644
(file)
--- a/
src/gallium/drivers/r300/r300_state.c
+++ b/
src/gallium/drivers/r300/r300_state.c
@@
-984,8
+984,8
@@
static void r300_bind_rs_state(struct pipe_context* pipe, void* state)
}
UPDATE_STATE(state, r300->rs_state);
- r300->rs_state.size = 25 + (r300->polygon_offset_enabled ? 5 : 0 +
- r300->rws->get_value(r300->rws, R300_VID_DRM_2_3_0) ? 5 : 0);
+ r300->rs_state.size = 25 + (r300->polygon_offset_enabled ? 5 : 0
)
+
+
(
r300->rws->get_value(r300->rws, R300_VID_DRM_2_3_0) ? 5 : 0);
if (last_sprite_coord_enable != r300->sprite_coord_enable ||
last_two_sided_color != r300->two_sided_color) {