summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_vs.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2010-02-10 18:38:53 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2010-02-10 18:40:12 -0800
commit229db2b8ade33571e4cece1d838234895db220c2 (patch)
tree37831eb0fc978d15574b7efdc6bfbc8f3f96f94c /src/gallium/drivers/r300/r300_vs.c
parent218590f70723ce0683f70a0c7aab229f9bbd89a6 (diff)
downloadexternal_mesa3d-229db2b8ade33571e4cece1d838234895db220c2.zip
external_mesa3d-229db2b8ade33571e4cece1d838234895db220c2.tar.gz
external_mesa3d-229db2b8ade33571e4cece1d838234895db220c2.tar.bz2
r300g: Work around "defect" in r300compiler.
r300compiler doesn't handle half swizzles for vert shaders, which don't have them. So, for now, disable them.
Diffstat (limited to 'src/gallium/drivers/r300/r300_vs.c')
-rw-r--r--src/gallium/drivers/r300/r300_vs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_vs.c b/src/gallium/drivers/r300/r300_vs.c
index fb81b24..a6786c3 100644
--- a/src/gallium/drivers/r300/r300_vs.c
+++ b/src/gallium/drivers/r300/r300_vs.c
@@ -340,6 +340,7 @@ void r300_translate_vertex_shader(struct r300_context* r300,
/* Translate TGSI to our internal representation */
ttr.compiler = &compiler.Base;
ttr.info = &vs->info;
+ ttr.use_half_swizzles = FALSE;
r300_tgsi_to_rc(&ttr, vs->state.tokens);