summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-03-12 14:01:26 +0200
committerTapani Pälli <[email protected]>2019-03-12 14:12:36 +0200
commitbef354321b8e55dd68ad1769504f55fb63da1294 (patch)
treef1730f394d1753aeb55c81c7c21020e406079feb
parent1bbe58c214b4ff7f614bfadb5c8691a2fe47ab51 (diff)
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 <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 3173bd715a8..729cceb3e32 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -41,7 +41,6 @@
#include "git_sha1.h"
#include "vk_util.h"
#include "common/gen_defines.h"
-#include "compiler/glsl_types.h"
#include "genxml/gen7_pack.h"
@@ -737,7 +736,6 @@ void anv_DestroyInstance(
vk_debug_report_instance_destroy(&instance->debug_report_callbacks);
- _mesa_glsl_release_types();
_mesa_locale_fini();
vk_free(&instance->alloc, instance);