iris: Track bound constant buffers
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 17 Apr 2019 06:01:41 +0000 (23:01 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 23 Apr 2019 07:24:08 +0000 (00:24 -0700)
commit00d4019676ee879622fd4dbe0234d6c44de04725
treed02cbefb191a4aead042726de3cb66000dc776b5
parent4d1223607278ca771bd9ba82ca52cd78893dc79d
iris: Track bound constant buffers

This helps avoid having to iterate over [0, PIPE_MAX_CONSTANT_BUFFERS)
looking to see if any resources are bound.
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_state.c