summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorŁukasz Krotowski <[email protected]>2011-01-08 00:46:38 +0100
committerMarek Olšák <[email protected]>2011-01-08 01:35:02 +0100
commit96d8a54716d96bd28f0c54a25ca6904fb4321a55 (patch)
tree6bbb7ebdf8f786bda59f1250431a1ebf3e9754ef /src/gallium/drivers/r300/r300_state.c
parent1e1aef567f3d86512a71236833a816002ee08d98 (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/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c1
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;
}