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:

committed by
Marek Olšák

parent
1e1aef567f
commit
96d8a54716
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user