summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_state.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-26 10:47:42 -0700
committerBrian <[email protected]>2008-02-26 10:47:42 -0700
commit4901410293b35ac6bb4759142b50fcc0be8a1b25 (patch)
tree163678cd0855d51ec106a694296bdb0546e4eb62 /src/gallium/drivers/i915simple/i915_state.c
parent33d213b6776701ec16b5c02b111ed31de5e93f43 (diff)
gallium/i915: Use tgsi_scan_shader() to collect shader info
No longer use semantic info in pipe_shader_state. Also, remove redundant semantic info from i915_fp_compile struct.
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_state.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_state.c b/src/gallium/drivers/i915simple/i915_state.c
index a35bdf941fc..9df0e125406 100644
--- a/src/gallium/drivers/i915simple/i915_state.c
+++ b/src/gallium/drivers/i915simple/i915_state.c
@@ -429,6 +429,8 @@ i915_create_fs_state(struct pipe_context *pipe,
ifs->state = *templ;
+ tgsi_scan_shader(templ->tokens, &ifs->info);
+
/* The shader's compiled to i915 instructions here */
i915_translate_fragment_program(i915, ifs);