ffvertex: Don't try to read output registers in fog calculation
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 17 Jun 2017 02:02:48 +0000 (19:02 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 4 May 2018 22:27:50 +0000 (15:27 -0700)
commitdf80ffa4aaf18433d8e3e97b7cb86426a1e8654b
treeeb3b452100ba8dc1cd7d4516e64af87dc07d14e9
parentf2db3be6200410ffd269f8789f3c97292ce03b0f
ffvertex: Don't try to read output registers in fog calculation

Gallium drivers use _mesa_remove_output_reads() via st_program to lower
output reads away.  It seems better to just generate the right thing in
the first place.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/ffvertex_prog.c