summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple/i915_context.h
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2008-02-26 10:47:42 -0700
committerBrian <brian@i915.localnet.net>2008-02-26 10:47:42 -0700
commit4901410293b35ac6bb4759142b50fcc0be8a1b25 (patch)
tree163678cd0855d51ec106a694296bdb0546e4eb62 /src/gallium/drivers/i915simple/i915_context.h
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_context.h')
-rw-r--r--src/gallium/drivers/i915simple/i915_context.h5
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 d32dded6bd..20cf7d3c3b 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;