summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_context.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-03-01 18:47:17 +0100
committerRoland Scheidegger <[email protected]>2010-03-01 18:47:17 +0100
commit8e2df0dcb92b7b092b35df3d35591c31d5f2ca5f (patch)
treed4c372f57aff75a45de59865eb576ea77cb0fbd7 /src/gallium/drivers/i915/i915_context.h
parent4dfe2df6296745e054db6c83cdd122417a3e3764 (diff)
i915g: adapt to new vertex element cso
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.h')
-rw-r--r--src/gallium/drivers/i915/i915_context.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h
index da769e7b290..369c63eeceb 100644
--- a/src/gallium/drivers/i915/i915_context.h
+++ b/src/gallium/drivers/i915/i915_context.h
@@ -148,7 +148,7 @@ struct i915_state
/** Describes the current hardware vertex layout */
struct vertex_info vertex_info;
-
+
unsigned id; /* track lost context events */
};
@@ -187,6 +187,11 @@ struct i915_sampler_state {
unsigned maxlod;
};
+struct i915_velems_state {
+ unsigned count;
+ struct pipe_vertex_element velem[];
+};
+
struct i915_texture {
struct pipe_texture base;
@@ -247,7 +252,6 @@ struct i915_context
unsigned num_samplers;
unsigned num_textures;
- unsigned num_vertex_elements;
unsigned num_vertex_buffers;
struct intel_batchbuffer *batch;