i965/fs: Rename vp_outputs_written to input_slots_valid.
authorPaul Berry <stereotype441@gmail.com>
Wed, 20 Mar 2013 17:15:52 +0000 (10:15 -0700)
committerPaul Berry <stereotype441@gmail.com>
Sun, 24 Mar 2013 17:55:28 +0000 (10:55 -0700)
commit0a0deb92d9e25067ac4b89cbbd8f8f8f3b4d05db
tree9796edd0acd7b2a9d7710efe35b5d556eb58da76
parentbf9bfe838eba116cb63dac9a8998da475e1bd98b
i965/fs: Rename vp_outputs_written to input_slots_valid.

With the introduction of geometry shaders, fragment inputs will no
longer come exclusively from the vertex shader; sometimes they come
from the geometry shader.  So the name "vp_outputs_written" will
become a misnomer.  This patch renames vp_outputs_written to
input_slots_valid, to reflect the true meaning of the bitfield from
the fragment shader's point of view: it indicates which of the
possible input slots contain valid data that was written by the
previous shader stage.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h