projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eae8e4
)
r300g: a fix for piglit/texrect-many
author
Marek Olšák
<maraeo@gmail.com>
Sun, 11 Apr 2010 17:28:01 +0000
(19:28 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 11 Apr 2010 17:30:09 +0000
(19:30 +0200)
Broken since
146879284c6b844f35afe3a3ef3330726afbe8ac
.
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 b71972d0fb50e07f89b216f4855ce32238fb3557..a2619b383196f1c7073e09b0c56aa274a921b9f1 100644
(file)
--- a/
src/gallium/drivers/r300/r300_vs.c
+++ b/
src/gallium/drivers/r300/r300_vs.c
@@
-307,7
+307,10
@@
void r300_translate_vertex_shader(struct r300_context* r300,
r300_tgsi_to_rc(&ttr, tokens);
- compiler.RequiredOutputs = ~(~0 << (vs->info.num_outputs+1));
+ compiler.RequiredOutputs =
+ ~(~0 << (vs->info.num_outputs +
+ (vs->outputs.wpos != ATTR_UNUSED ? 1 : 0)));
+
compiler.SetHwInputOutput = &set_vertex_inputs_outputs;
/* Insert the WPOS output. */