Displaying 1 result from an estimated 1 matches for "nv30_draw_elements_swtnl".
2010 Jan 18
1
[PATCH 1/2] nv30-nv40: Rewrite primitive splitting and emission
...v30->screen;
struct nouveau_channel *chan = screen->base.channel;
struct nouveau_grobj *rankine = screen->rankine;
- unsigned restart = 0;
+ struct nv30_primitive prim;
+ unsigned vc;
nv30_vbo_set_idxbuf(nv30, NULL, 0);
if (FORCE_SWTNL || !nv30_state_validate(nv30)) {
- /*return nv30_draw_elements_swtnl(pipe, NULL, 0,
- mode, start, count);*/
- return;
+ /*nv30_draw_elements_swtnl(pipe, NULL, 0,
+ mode, start, count);*/
+ return;
}
- while (count) {
- unsigned vc, nr;
-
- nv30_state_emit(nv30);
+ nv30_primitive_init(&prim, nv3...