iris: actually save VBs
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 20 Jan 2018 08:57:01 +0000 (00:57 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_state.c

index 8e8b932589e67e23d05aad4980c46d32317558cf..96eea8511d252fd29fe07908e63a98ce1e959f41 100644 (file)
@@ -1163,6 +1163,7 @@ iris_set_vertex_buffers(struct pipe_context *ctx,
       vb_pack_dest += GENX(VERTEX_BUFFER_STATE_length);
    }
 
+   ice->state.cso_vertex_buffers = cso;
    ice->state.dirty |= IRIS_DIRTY_VERTEX_BUFFERS;
 }