summaryrefslogtreecommitdiff
path: root/src/sna/gen8_vertex.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-12-12 16:49:02 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-12-12 16:49:02 +0000
commitf350a1369b3bd39ba0db8639f036864fe5df2f98 (patch)
tree9588fc1ca30ebac366b931ce3ee7ed46b60b4b5c /src/sna/gen8_vertex.c
parent7c62925ba7f18f55ee34b946bddba84a07b83985 (diff)
sna/gen4+: Drop new assertion that we only finish a vbo after use in this batch
A full vbo might not be discarded and so upon first use in the following batch we decided to finish the old vbo and allocate a new. This can happen before we even emit any relocations and so the assert is bogus. Reported-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen8_vertex.c')
-rw-r--r--src/sna/gen8_vertex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/gen8_vertex.c b/src/sna/gen8_vertex.c
index dcafcd1a..dfa4cce2 100644
--- a/src/sna/gen8_vertex.c
+++ b/src/sna/gen8_vertex.c
@@ -84,7 +84,6 @@ int gen8_vertex_finish(struct sna *sna)
assert(sna->render.vertex_offset == 0);
assert(sna->render.vertex_used);
assert(sna->render.vertex_used <= sna->render.vertex_size);
- assert(sna->render.nvertex_reloc);
sna_vertex_wait__locked(&sna->render);