glsl: add "in" or "out" prefix to name when flattening interface blocks
authorFabian Bieler <fabianbieler@fastmail.fm>
Thu, 20 Mar 2014 21:37:37 +0000 (22:37 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:27 +0000 (00:59 +0200)
commitc53aa26379ccee9d53fe1d1ea9bfa26d4d469618
treee9609b0c59ea1acf80c14f61c83e8841435e47ad
parent73a9a1539a85ae8fe22e11b4064105d588597736
glsl: add "in" or "out" prefix to name when flattening interface blocks

This is to prevent a name conflict in tessellation shaders built-in interface
blocks.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/glsl/lower_named_interface_blocks.cpp