summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_inst.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_inst.h b/src/mesa/drivers/dri/i965/brw_inst.h
index 719ac8e0985..c1ff10d5cbe 100644
--- a/src/mesa/drivers/dri/i965/brw_inst.h
+++ b/src/mesa/drivers/dri/i965/brw_inst.h
@@ -306,8 +306,6 @@ static inline void \
brw_inst_set_##name(const struct brw_context *brw, brw_inst *inst, int16_t v) \
{ \
assert(assertions); \
- assert(v <= (1 << 16) - 1); \
- assert(v > -(1 << 16)); \
(void) brw; \
brw_inst_set_bits(inst, high, low, (uint16_t) v); \
} \