diff options
author | Corbin Simpson <[email protected]> | 2009-02-17 21:31:33 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-17 21:34:12 -0800 |
commit | c613e366a9c6ab9631f8101851163caec7437237 (patch) | |
tree | c0f7a3dd6df7fb4c15a68dd0e9f2c5c02bc35fbd | |
parent | d25304a2f7fd8dedf95bc3a5f195c63cbc1c1836 (diff) |
r300-gallium: Properly init shader state.
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 2 |
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 eae1a5698d0..c8533d764df 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; } |