summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_vs.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-05-15 22:55:17 +0200
committerMarek Olšák <maraeo@gmail.com>2010-05-15 22:55:17 +0200
commitf86ac27bf9203fdd9b7110dc843263307f475a99 (patch)
treef19b9fa1b289e376ea35561c03b7e85921fcda3f /src/gallium/drivers/r300/r300_vs.h
parentcf5dff1f2337303f49780dc646a44c6dbbe48e5a (diff)
downloadexternal_mesa3d-f86ac27bf9203fdd9b7110dc843263307f475a99.zip
external_mesa3d-f86ac27bf9203fdd9b7110dc843263307f475a99.tar.gz
external_mesa3d-f86ac27bf9203fdd9b7110dc843263307f475a99.tar.bz2
r300g: fix psychedelic colors with SWTCL
r300_vertex_shader::outputs was uninitialized. Also remove the tokens parameter.
Diffstat (limited to 'src/gallium/drivers/r300/r300_vs.h')
-rw-r--r--src/gallium/drivers/r300/r300_vs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_vs.h b/src/gallium/drivers/r300/r300_vs.h
index 57b3fbc..31890d7 100644
--- a/src/gallium/drivers/r300/r300_vs.h
+++ b/src/gallium/drivers/r300/r300_vs.h
@@ -56,8 +56,8 @@ struct r300_vertex_shader {
void *draw_vs;
};
-void r300_translate_vertex_shader(struct r300_context* r300,
- struct r300_vertex_shader* vs,
- const struct tgsi_token *tokens);
+void r300_init_vs_outputs(struct r300_vertex_shader *vs);
+void r300_translate_vertex_shader(struct r300_context *r300,
+ struct r300_vertex_shader *vs);
#endif /* R300_VS_H */