Mesa (master): r300g: fix SWTCL stream locations of texture coordinates
Corbin Simpson
csimpson at kemper.freedesktop.org
Wed Jan 6 20:49:33 UTC 2010
Module: Mesa
Branch: master
Commit: 7679ac2caa4fbc304c38e95b1230a6cdebdbc691
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7679ac2caa4fbc304c38e95b1230a6cdebdbc691
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Dec 25 17:09:21 2009 +0100
r300g: fix SWTCL stream locations of texture coordinates
It might have caused hardlocks when TCL was bypassed, not sure.
---
src/gallium/drivers/r300/r300_vs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_vs.c b/src/gallium/drivers/r300/r300_vs.c
index 3512a6d..cb4b6ee 100644
--- a/src/gallium/drivers/r300/r300_vs.c
+++ b/src/gallium/drivers/r300/r300_vs.c
@@ -187,7 +187,7 @@ static void r300_stream_locations_notcl(
/* Texture coordinates. */
gen_count = 0;
for (i = 0; i < ATTR_GENERIC_COUNT; i++) {
- if (vs_outputs->bcolor[i] != ATTR_UNUSED) {
+ if (vs_outputs->generic[i] != ATTR_UNUSED) {
assert(tabi < 16);
stream_loc[tabi++] = 6 + gen_count;
gen_count++;
More information about the mesa-commit
mailing list