OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a5da7
)
r300g: fix compiler error
author
Marek Olšák
<maraeo@gmail.com>
Thu, 29 Apr 2010 05:32:56 +0000
(07:32 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 29 Apr 2010 05:32:56 +0000
(07:32 +0200)
Ouch.
src/gallium/drivers/r300/r300_state_derived.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_state_derived.c
b/src/gallium/drivers/r300/r300_state_derived.c
index
c684547
..
ccc4b58
100644
(file)
--- a/
src/gallium/drivers/r300/r300_state_derived.c
+++ b/
src/gallium/drivers/r300/r300_state_derived.c
@@
-393,14
+393,13
@@
static void r300_update_rs_block(struct r300_context* r300,
/* Rasterize WPOS. */
/* If the FS doesn't need it, it's not written by the VS. */
if (vs_outputs->wpos != ATTR_UNUSED && fs_inputs->wpos != ATTR_UNUSED) {
- rX00_rs_tex(&rs, tex_count,
vs_
tex_count, SWIZ_XYZW);
+ rX00_rs_tex(&rs, tex_count, tex_count, SWIZ_XYZW);
rX00_rs_tex_write(&rs, tex_count, fp_offset);
DBG(r300, DBG_RS, "r300: Rasterized WPOS written to FS.\n");
fp_offset++;
tex_count++;
- vs_tex_count++;
}
/* Rasterize at least one color, or bad things happen. */