mesa: remove _NEW_VARYING_VP_INPUTS in favor of _NEW_FF_(VERT|FRAG)_PROGRAM
authorMarek Olšák <marek.olsak@amd.com>
Mon, 1 Feb 2021 21:09:04 +0000 (16:09 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Feb 2021 23:38:02 +0000 (23:38 +0000)
commitabd57010f300517bf80fd0c87047e66900865842
tree4153764761ffe861376359d50ce58edf20ce3d0f
parent8e56ad6faefb851601c302049b411680924d6343
mesa: remove _NEW_VARYING_VP_INPUTS in favor of _NEW_FF_(VERT|FRAG)_PROGRAM

This adds _NEW_FF_FRAG_PROGRAM.

_mesa_set_varying_vp_inputs flags both fixed-func programs because both use
the state.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850>
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/main/draw.c
src/mesa/main/ff_fragment_shader.cpp
src/mesa/main/mtypes.h
src/mesa/main/state.c