r300-gallium: Properly init shader state.

This commit is contained in:
Corbin Simpson
2009-02-17 21:31:33 -08:00
parent d25304a2f7
commit c613e366a9
+2
View 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;
}