diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-06 22:11:32 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-12-11 21:39:40 +0000 |
commit | e017542d10e875260e3eef1b0369f4ea106df0f5 (patch) | |
tree | 577bf674cb2431a38d938c3e49f7d371ae6bcb30 /src/sna/gen4_vertex.c | |
parent | 610af0c70e755062b36ba9756fbc4288518b7c35 (diff) |
sna/gen8: Initial backend for Broadwell
Should match the functionality of the earlier generations, but untuned.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen4_vertex.c b/src/sna/gen4_vertex.c index 0585c4ce..1ea10b0d 100644 --- a/src/sna/gen4_vertex.c +++ b/src/sna/gen4_vertex.c @@ -88,6 +88,7 @@ int gen4_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); @@ -125,7 +126,6 @@ int gen4_vertex_finish(struct sna *sna) } } - size = 256*1024; assert(!sna->render.active); sna->render.vertices = NULL; |