summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-17 21:31:33 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-17 21:31:33 -0800
commit8ec853d4dfa344773b0d024d9cbe67d04cebe05c (patch)
treed0e975511f1b58112ed9a5ec234105fc189d4370
parentecb177e198298bbf38fce75223c558d584446dee (diff)
r300-gallium: Properly init shader state.
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index eae1a5698d..c8533d764d 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -435,6 +435,8 @@ static void* r300_create_fs_state(struct pipe_context* pipe,
/* Copy state directly into shader. */
fs->state = *shader;
+ tgsi_scan_shader(shader->tokens, &fs->info);
+
return (void*)fs;
}