Explorar el Código

nvc0: assert that we have vertex elements state

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
tags/10.3-branchpoint
Christoph Bumiller hace 12 años
padre
commit
caa34a7a64
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c

+ 1
- 0
src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c Ver fichero

@@ -423,6 +423,7 @@ nvc0_vertex_arrays_validate(struct nvc0_context *nvc0)

nouveau_bufctx_reset(nvc0->bufctx_3d, NVC0_BIND_VTX);

assert(vertex);
if (unlikely(vertex->need_conversion) ||
unlikely(nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS)) {
vbo_mode = 3;

Cargando…
Cancelar
Guardar