iris: Use program's num textures not the state tracker's bound
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 23 Nov 2018 19:47:55 +0000 (11:47 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
commit10d04cdaa4ffbf37b5eedab2769074697cb6aff3
tree80305d97e67ef50862b54168f852b04eb8a31ce2
parent855ff47d365abfc0d97061f1084f68bcff961743
iris: Use program's num textures not the state tracker's bound

the state tracker might bind more textures than the program is using.
src/gallium/drivers/iris/iris_state.c