r300g: Remove invalid assertion.
authorŁukasz Krotowski <lukasz.krotowski@gmail.com>
Fri, 7 Jan 2011 23:46:38 +0000 (00:46 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 8 Jan 2011 00:35:02 +0000 (01:35 +0100)
Invalid after be1af4394e060677b7db6bbb8e3301e38a3363da (user buffer
creation with width0 == ~0).

Signed-off-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/r300/r300_state.c

index b55262a95229396bc83888d3b3d757877cbca786..3a97b76a4c8187bb1532757972c5f22e468c4474 100644 (file)
@@ -1871,7 +1871,6 @@ static void r300_set_constant_buffer(struct pipe_context *pipe,
 
     if (shader == PIPE_SHADER_FRAGMENT ||
         (shader == PIPE_SHADER_VERTEX && r300->screen->caps.has_tcl)) {
-        assert((buf->width0 % (4 * sizeof(float))) == 0);
         cbuf->ptr = mapped;
     }