Invalid after be1af4394e
(user buffer
creation with width0 == ~0).
Signed-off-by: Marek Olšák <maraeo@gmail.com>
tags/android-x86-2.2-r2
@@ -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; | |||
} | |||