freedreno/a6xx: fix border-color swizzles
[mesa.git] / src / gallium / drivers / nouveau / nvc0 / nvc0_vbo.c
index 3fbe7614e52f448ee6fc24e1506eb78d43bcf8d4..7d6be9382d1848f7815b923777ff5dce94ab5b25 100644 (file)
@@ -1040,7 +1040,10 @@ nvc0_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
    }
 
    if (nvc0->state.vbo_mode) {
-      nvc0_push_vbo(nvc0, info);
+      if (info->indirect)
+         nvc0_push_vbo_indirect(nvc0, info);
+      else
+         nvc0_push_vbo(nvc0, info);
       goto cleanup;
    }