prim.num_instances = numInstances;
prim.base_instance = baseInstance;
prim.draw_id = drawID;
- prim.is_indirect = 0;
prim.start = start;
prim.count = count;
prim.start = 0;
prim.count = count;
prim.indexed = 1;
- prim.is_indirect = 0;
prim.basevertex = basevertex;
prim.num_instances = numInstances;
prim.base_instance = baseInstance;
prim[i].num_instances = 1;
prim[i].base_instance = 0;
prim[i].draw_id = i;
- prim[i].is_indirect = 0;
if (basevertex != NULL)
prim[i].basevertex = basevertex[i];
else
prim[0].num_instances = 1;
prim[0].base_instance = 0;
prim[0].draw_id = i;
- prim[0].is_indirect = 0;
if (basevertex != NULL)
prim[0].basevertex = basevertex[i];
else
prim.mode = mode;
prim.num_instances = numInstances;
prim.base_instance = 0;
- prim.is_indirect = 0;
/* Maybe we should do some primitive splitting for primitive restart
* (like in DrawArrays), but we have no way to know how many vertices
prim[i].mode = mode;
prim[i].indexed = !!ib;
prim[i].indirect_offset = indirect_offset;
- prim[i].is_indirect = 1;
prim[i].draw_id = i;
}
exec->vtx.prim[i].count = 0;
exec->vtx.prim[i].num_instances = 1;
exec->vtx.prim[i].base_instance = 0;
- exec->vtx.prim[i].is_indirect = 0;
ctx->Driver.CurrentExecPrimitive = mode;
ADD_POINTERS(indirect->Mappings[MAP_INTERNAL].Pointer,
new_prim.indirect_offset);
- new_prim.is_indirect = 0;
new_prim.count = indirect_params[0];
new_prim.num_instances = indirect_params[1];
new_prim.start = indirect_params[2];
save->prims[0].count = 0;
save->prims[0].num_instances = 1;
save->prims[0].base_instance = 0;
- save->prims[0].is_indirect = 0;
save->prim_count = 1;
}
save->prims[i].count = 0;
save->prims[i].num_instances = 1;
save->prims[i].base_instance = 0;
- save->prims[i].is_indirect = 0;
save->no_current_update = no_current_update;