diff options
author | Brian <[email protected]> | 2008-02-26 10:47:42 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-26 10:47:42 -0700 |
commit | 4901410293b35ac6bb4759142b50fcc0be8a1b25 (patch) | |
tree | 163678cd0855d51ec106a694296bdb0546e4eb62 /src/gallium/drivers/i915simple/i915_context.h | |
parent | 33d213b6776701ec16b5c02b111ed31de5e93f43 (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_context.h')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_context.h b/src/gallium/drivers/i915simple/i915_context.h index d32dded6bdc..20cf7d3c3bf 100644 --- a/src/gallium/drivers/i915simple/i915_context.h +++ b/src/gallium/drivers/i915simple/i915_context.h @@ -35,6 +35,8 @@ #include "draw/draw_vertex.h" +#include "tgsi/util/tgsi_scan.h" + #define I915_TEX_UNITS 8 @@ -89,6 +91,9 @@ struct i915_fragment_shader { struct pipe_shader_state state; + + struct tgsi_shader_info info; + uint *program; uint program_len; |