r300g: Remove invalid assertion.

Invalid after be1af4394e (user buffer
creation with width0 == ~0).

Signed-off-by: Marek Olšák <maraeo@gmail.com>
This commit is contained in:
Łukasz Krotowski
2011-01-08 00:46:38 +01:00
committed by Marek Olšák
parent 1e1aef567f
commit 96d8a54716

View 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;
}