r300-gallium: Properly init shader state.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user