Merge branch 'ext-provoking-vertex'
Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
This commit is contained in:
@@ -102,6 +102,9 @@ static void update_raster_state( struct st_context *st )
|
||||
if (ctx->Light.ShadeModel == GL_FLAT)
|
||||
raster->flatshade = 1;
|
||||
|
||||
if (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION_EXT)
|
||||
raster->flatshade_first = 1;
|
||||
|
||||
/* _NEW_LIGHT | _NEW_PROGRAM
|
||||
*
|
||||
* Back-face colors can come from traditional lighting (when
|
||||
|
Reference in New Issue
Block a user