r300-gallium: Properly init shader state.

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