From: Corbin Simpson Date: Wed, 18 Feb 2009 05:31:33 +0000 (-0800) Subject: r300-gallium: Properly init shader state. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ec853d4dfa344773b0d024d9cbe67d04cebe05c;p=mesa.git r300-gallium: Properly init shader state. --- 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; }