diff options
author | Paul Berry <[email protected]> | 2011-09-13 15:40:07 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-20 14:51:07 -0700 |
commit | 8be653164d7c64d8e463c5e95ed6b65d6eba3dcf (patch) | |
tree | 4b4f35e2b2ec44d4a2c608bb896ae875c78e315b /src/mesa/drivers/dri | |
parent | 27bdc76eb92b11bcd61b829bd1372866cb9ef304 (diff) |
i965: Remove bogus assertion on MAX_CLIP_PLANES.
This patch removes the assertion "MAX_CLIP_PLANES == 6" from the i965
driver. This assertion is unnecessary; nothing in the driver requires
MAX_CLIP_PLANES to be 6.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_curbe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_curbe.c b/src/mesa/drivers/dri/i965/brw_curbe.c index b9a4beb1236..2ee2b464ed7 100644 --- a/src/mesa/drivers/dri/i965/brw_curbe.c +++ b/src/mesa/drivers/dri/i965/brw_curbe.c @@ -227,7 +227,6 @@ static void prepare_constant_buffer(struct brw_context *brw) /* Clip planes: _NEW_TRANSFORM plus _NEW_PROJECTION to get to * clip-space: */ - assert(MAX_CLIP_PLANES == 6); for (j = 0; j < MAX_CLIP_PLANES; j++) { if (ctx->Transform.ClipPlanesEnabled & (1<<j)) { buf[offset + i * 4 + 0] = ctx->Transform._ClipUserPlane[j][0]; |