summaryrefslogtreecommitdiff
path: root/src/sna/gen4_vertex.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-01-20 16:59:58 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-01-20 17:01:24 +0000
commite6a64f872bfd026aa1ba1bd44b1298918c819849 (patch)
tree74024087abc09e46c9f04050ea8ccc2becc87a06 /src/sna/gen4_vertex.c
parent5de919336fc1ba1c4116e18ba0560cdb7b0589f0 (diff)
sna/gen3+: Remove bogus assertion that the vbo in included before finish
If we are carrying over a nearly full vbo from one batch to the next, we may indeed finish it prior to writing any new primitives and so the assert is truly bogus. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen4_vertex.c')
-rw-r--r--src/sna/gen4_vertex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/gen4_vertex.c b/src/sna/gen4_vertex.c
index d34d0d8c..4e404670 100644
--- a/src/sna/gen4_vertex.c
+++ b/src/sna/gen4_vertex.c
@@ -57,7 +57,6 @@ int gen4_vertex_finish(struct sna *sna)
sna->render.vertex_used, sna->render.vertex_size));
assert(sna->render.vertex_offset == 0);
assert(sna->render.vertex_used);
- assert(sna->render.nvertex_reloc);
/* Note: we only need dword alignment (currently) */