nvc0: regenerate rnndb headers
[mesa.git] / src / gallium / drivers / nouveau / nvc0 / nvc0_vbo.c
index 250d495872e4427205e08d913274417c046103f9..657b8c0fe827d43be3ebccfc535656b5762361e2 100644 (file)
@@ -577,7 +577,7 @@ nvc0_draw_arrays(struct nvc0_context *nvc0,
       /* TODO: can we deactivate it for the VERTEX_BUFFER_FIRST command ? */
       PUSH_SPACE(push, 2);
       IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_BASE), 0);
-      IMMED_NVC0(push, NVC0_3D(VERTEX_ID), 0);
+      IMMED_NVC0(push, NVC0_3D(VERTEX_ID_BASE), 0);
       nvc0->state.index_bias = 0;
    }
 
@@ -709,7 +709,7 @@ nvc0_draw_elements(struct nvc0_context *nvc0, boolean shorten,
       PUSH_SPACE(push, 4);
       BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_BASE), 1);
       PUSH_DATA (push, index_bias);
-      BEGIN_NVC0(push, NVC0_3D(VERTEX_ID), 1);
+      BEGIN_NVC0(push, NVC0_3D(VERTEX_ID_BASE), 1);
       PUSH_DATA (push, index_bias);
       nvc0->state.index_bias = index_bias;
    }
@@ -821,7 +821,7 @@ nvc0_draw_indirect(struct nvc0_context *nvc0, const struct pipe_draw_info *info)
       if (nvc0->state.index_bias) {
          /* index_bias is implied 0 if !info->indexed (really ?) */
          IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_BASE), 0);
-         IMMED_NVC0(push, NVC0_3D(VERTEX_ID), 0);
+         IMMED_NVC0(push, NVC0_3D(VERTEX_ID_BASE), 0);
          nvc0->state.index_bias = 0;
       }
       size = 4 * 4;