projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a4f242
)
r300g: fix SWTCL stream locations of texture coordinates
author
Marek Olšák
<maraeo@gmail.com>
Fri, 25 Dec 2009 16:09:21 +0000
(17:09 +0100)
committer
Corbin Simpson
<MostAwesomeDude@gmail.com>
Wed, 6 Jan 2010 20:49:15 +0000
(12:49 -0800)
It might have caused hardlocks when TCL was bypassed, not sure.
src/gallium/drivers/r300/r300_vs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_vs.c
b/src/gallium/drivers/r300/r300_vs.c
index 3512a6dc760c85c0854d1b73e80598f7a661b716..cb4b6ee71e720667d07b613042dd1a994878c492 100644
(file)
--- 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++;