summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_storage.c2
-rw-r--r--src/mesa/shader/slang/slang_storage.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_storage.c b/src/mesa/shader/slang/slang_storage.c
index 04995aa8420..6d6a6d9ac47 100644
--- a/src/mesa/shader/slang/slang_storage.c
+++ b/src/mesa/shader/slang/slang_storage.c
@@ -258,6 +258,7 @@ _slang_sizeof_aggregate(const slang_storage_aggregate * agg)
}
+#if 0
GLboolean
_slang_flatten_aggregate(slang_storage_aggregate * flat,
const slang_storage_aggregate * agg)
@@ -299,3 +300,4 @@ _slang_flatten_aggregate(slang_storage_aggregate * flat,
}
return GL_TRUE;
}
+#endif
diff --git a/src/mesa/shader/slang/slang_storage.h b/src/mesa/shader/slang/slang_storage.h
index b02931fcc2a..d3047ee5164 100644
--- a/src/mesa/shader/slang/slang_storage.h
+++ b/src/mesa/shader/slang/slang_storage.h
@@ -125,6 +125,7 @@ extern GLuint
_slang_sizeof_aggregate (const slang_storage_aggregate *);
+#if 0
/**
* Converts structured aggregate to a flat one, with arrays of generic
* type being one-element long. Returns GL_TRUE on success. Returns
@@ -134,5 +135,6 @@ extern GLboolean
_slang_flatten_aggregate (slang_storage_aggregate *,
const slang_storage_aggregate *);
+#endif
#endif /* SLANG_STORAGE_H */