From: Brian Date: Wed, 21 Mar 2007 21:38:46 +0000 (-0600) Subject: disable apparently unused code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97c9b3ecc6da6058cf17840f6448617c7dc2be75;p=mesa.git disable apparently unused code --- 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 */