Browse Source

softpipe: implement flatshade_first for line setup

tags/mesa_7_6_rc1
Brian Paul 16 years ago
parent
commit
6f26f8c750
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/gallium/drivers/softpipe/sp_setup.c

+ 4
- 1
src/gallium/drivers/softpipe/sp_setup.c View File

float area; float area;


/* use setup->vmin, vmax to point to vertices */ /* use setup->vmin, vmax to point to vertices */
setup->vprovoke = v1;
if (softpipe->rasterizer->flatshade_first)
setup->vprovoke = v0;
else
setup->vprovoke = v1;
setup->vmin = v0; setup->vmin = v0;
setup->vmax = v1; setup->vmax = v1;



Loading…
Cancel
Save