Mesa (master): r300-gallium: Properly init shader state.
Keith Whitwell
keithw at kemper.freedesktop.org
Wed Feb 18 12:56:00 UTC 2009
Module: Mesa
Branch: master
Commit: 8ec853d4dfa344773b0d024d9cbe67d04cebe05c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ec853d4dfa344773b0d024d9cbe67d04cebe05c
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date: Tue Feb 17 21:31:33 2009 -0800
r300-gallium: Properly init shader state.
---
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 eae1a56..c8533d7 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;
}
More information about the mesa-commit
mailing list