anv: revert "anv: release memory allocated by glsl types during spirv_to_nir"
authorTapani Pälli <tapani.palli@intel.com>
Tue, 12 Mar 2019 12:01:26 +0000 (14:01 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 12 Mar 2019 12:12:36 +0000 (14:12 +0200)
commitbef354321b8e55dd68ad1769504f55fb63da1294
treef1730f394d1753aeb55c81c7c21020e406079feb
parent1bbe58c214b4ff7f614bfadb5c8691a2fe47ab51
anv: revert "anv: release memory allocated by glsl types during spirv_to_nir"

This reverts commit 47fc359822494935852de1e70e4d840b2fe6a25c.

Reason is that patch did not take in to account situation where we might
have both OpenGL and Vulkan using glsl_types at the same time.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c