summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_state.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-08-20 00:00:40 -0700
committerCorbin Simpson <[email protected]>2010-08-20 00:00:40 -0700
commitcdc1c67b9896cd0d919f736fe61a4396bf0ad5c0 (patch)
treeddcd2905f58267b6b3a25e6248584bc7f70cc02e /src/gallium/drivers/i915/i915_state.c
parent11fde173c21039fdab18439641ffeb74bddaca9b (diff)
galahad, i915g: Move over a few state asserts.
Diffstat (limited to 'src/gallium/drivers/i915/i915_state.c')
-rw-r--r--src/gallium/drivers/i915/i915_state.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c
index 385c3b2d2d3..cbddb214fb4 100644
--- a/src/gallium/drivers/i915/i915_state.c
+++ b/src/gallium/drivers/i915/i915_state.c
@@ -294,8 +294,6 @@ static void i915_bind_sampler_states(struct pipe_context *pipe,
struct i915_context *i915 = i915_context(pipe);
unsigned i;
- assert(num <= PIPE_MAX_SAMPLERS);
-
/* Check for no-op */
if (num == i915->num_samplers &&
!memcmp(i915->sampler, sampler, num * sizeof(void *)))
@@ -529,7 +527,6 @@ static void i915_set_constant_buffer(struct pipe_context *pipe,
struct i915_context *i915 = i915_context(pipe);
draw_flush(i915->draw);
- assert(shader < PIPE_SHADER_TYPES);
assert(index == 0);
/* Make a copy of shader constants.