OSDN Git Service

mesa: add _NEW_VARYING_VP_INPUTS for gl_context::varying_vp_inputs
authorMarek Olšák <maraeo@gmail.com>
Mon, 16 Apr 2012 02:21:03 +0000 (04:21 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 19 Apr 2012 12:47:21 +0000 (14:47 +0200)
commit576c8c592a4be7047a00b0c8fe3851b09f10d8d4
treede72949f79450fd2a8b47fcef50f2af78ed2c9ea
parent784dd51198433e5c299da4a7742c68d21d68d1c1
mesa: add _NEW_VARYING_VP_INPUTS for gl_context::varying_vp_inputs

This is a frequently-updated state and _NEW_ARRAY already causes revalidation
of the vbo module. It's kinda counter-productive to recompute arrays
in the vbo module if _NEW_ARRAY is set and then set _NEW_ARRAY again.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/ff_fragment_shader.cpp
src/mesa/main/mtypes.h
src/mesa/main/state.c
src/mesa/vbo/vbo_exec_array.c
src/mesa/vbo/vbo_exec_draw.c