chmod a-x
[mesa.git] / src / mesa / shader / slang / slang_compile_operation.c
index 192f2b086b604569fae554a71e9dc4cee24f2e63..28d9fdff7b0e206ca7f0fc85b3dbec719cb814c8 100644 (file)
@@ -135,6 +135,17 @@ slang_operation_new(GLuint count)
 }
 
 
+/**
+ * Delete operation and all children
+ */
+void
+slang_operation_delete(slang_operation *oper)
+{
+   slang_operation_destruct(oper);
+   _mesa_free(oper);
+}
+
+
 slang_operation *
 slang_operation_grow(GLuint *numChildren, slang_operation **children)
 {