diff options
author | Łukasz Krotowski <[email protected]> | 2011-01-08 00:46:38 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-01-08 01:35:02 +0100 |
commit | 96d8a54716d96bd28f0c54a25ca6904fb4321a55 (patch) | |
tree | 6bbb7ebdf8f786bda59f1250431a1ebf3e9754ef /src/gallium/drivers/r300 | |
parent | 1e1aef567f3d86512a71236833a816002ee08d98 (diff) |
r300g: Remove invalid assertion.
Invalid after be1af4394e060677b7db6bbb8e3301e38a3363da (user buffer
creation with width0 == ~0).
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index b55262a9522..3a97b76a4c8 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -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; } |