summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c
index e099ecb067e..9a0b985507d 100644
--- a/src/mesa/shader/slang/slang_compile_variable.c
+++ b/src/mesa/shader/slang/slang_compile_variable.c
@@ -272,9 +272,11 @@ slang_variable_destruct(slang_variable * var)
slang_operation_destruct(var->initializer);
slang_alloc_free(var->initializer);
}
+#if 0
if (var->aux) {
_mesa_free(var->aux);
}
+#endif
}