i965: Use _mesa_is_image_unit_valid() instead of gl_image_unit::_Valid.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 29 Aug 2015 14:01:11 +0000 (17:01 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 9 Oct 2015 14:48:52 +0000 (17:48 +0300)
commit2d97a78b37ddf325d90e056f5eefee0548092530
treeea73314cc63fc56f9bbe4bb786d324edca8d0565
parent25d3338be37ddbfe676716034ec5f29e27323704
i965: Use _mesa_is_image_unit_valid() instead of gl_image_unit::_Valid.

gl_image_unit::_Valid will be removed in a future commit.

Tested-by: Ye Tian <yex.tian@intel.com>
CC: "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_gs_surface_state.c
src/mesa/drivers/dri/i965/brw_vs_surface_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c