r300-gallium: Properly init shader state.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 18 Feb 2009 05:31:33 +0000 (21:31 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 18 Feb 2009 05:31:33 +0000 (21:31 -0800)
src/gallium/drivers/r300/r300_state.c

index eae1a56..c8533d7 100644 (file)
@@ -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;
 }