i965: Drop unnecessary 'and' with prog->SamplerUnits
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Feb 2019 03:50:37 +0000 (19:50 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Feb 2019 05:34:48 +0000 (21:34 -0800)
commit59ae985631ca984f2d56c599c210c35ec981f665
tree5a9b3826e9eee1f923a9b0b8a493453ddeb27bfa
parentf5c7df4dc95ca115b1a1c916b0b133692a7ea6d9
i965: Drop unnecessary 'and' with prog->SamplerUnits

textures_used_by_txf is a subset of textures_used which is a subset
of prog->SamplerUnits.  This should do nothing.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_draw.c