mesa: optimise interleaved sso validation
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 9 Nov 2016 21:33:50 +0000 (08:33 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 30 Nov 2016 03:13:52 +0000 (14:13 +1100)
commit6d3458cbfbb4efb5a2ee33ad17e11f45163b6180
tree8ba24595d30bd630b3632b2dc202110adc4fa941
parent34953f8907fddd0d2b27d276580a1d3223047987
mesa: optimise interleaved sso validation

Now that we have a linked_stages bitfield we can use this
to check if the program is used at a later stage.

This change is also required to be able to use gl_program
rather than gl_shader_program in the CurrentProgram array.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/pipelineobj.c