summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_vs.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2009-12-09 00:45:18 +0100
committerCorbin Simpson <[email protected]>2009-12-09 13:38:11 -0800
commitc6b450033d7ec2a415b1d761da1d94588358c94b (patch)
tree0317812d80dd746ad6ee734403c01f425a64c32c /src/gallium/drivers/r300/r300_vs.h
parent6de7ac73bf027b9ace6f5f0c8063cbf724d95cee (diff)
r300g: fix routing of vertex streams if TCL is bypassed
Generating mipmaps finally works, among other things. Yay!
Diffstat (limited to 'src/gallium/drivers/r300/r300_vs.h')
-rw-r--r--src/gallium/drivers/r300/r300_vs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_vs.h b/src/gallium/drivers/r300/r300_vs.h
index 283dd5a9e83..67e9db5366f 100644
--- a/src/gallium/drivers/r300/r300_vs.h
+++ b/src/gallium/drivers/r300/r300_vs.h
@@ -38,9 +38,11 @@ struct r300_vertex_shader {
struct tgsi_shader_info info;
struct r300_shader_semantics outputs;
- int output_stream_loc_swtcl[16];
uint hwfmt[4];
+ /* Stream locations for SWTCL or if TCL is bypassed. */
+ int stream_loc_notcl[16];
+
/* Has this shader been translated yet? */
boolean translated;