st/mesa: remove _NEW_POLYGON dependency from vertex shader
authorMarek Olšák <marek.olsak@amd.com>
Tue, 4 Mar 2014 00:45:48 +0000 (01:45 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 15 Mar 2014 16:47:36 +0000 (17:47 +0100)
commit8199d149edd21d74ff70bed652e50d176136aab6
treef601874995048ed408fb8f7d688156fd3ff96c9a
parent4e634c524024fa05d9ea2047497cd065c905bcdf
st/mesa: remove _NEW_POLYGON dependency from vertex shader

We can just check the polygon mode when updating the edge flag state.
Also, we can just flag ST_NEW_VERTEX_PROGRAM directly, which makes
ST_NEW_EDGEFLAGS_DATA useless.
src/mesa/state_tracker/st_atom.c
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_context.h