r300g: fix SWTCL stream locations of texture coordinates

It might have caused hardlocks when TCL was bypassed, not sure.
This commit is contained in:
Marek Olšák 2009-12-25 17:09:21 +01:00 committed by Corbin Simpson
parent 1a4f242be6
commit 7679ac2caa
1 changed files with 1 additions and 1 deletions

View File

@ -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++;