diff options
author | Eric Anholt <eric@anholt.net> | 2010-07-27 11:14:59 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-07-27 11:14:59 -0700 |
commit | 85cd64ee170e578317a6aa41d824314550a318ac (patch) | |
tree | 39aa736450ab7457d869bcfd8e33b27f2335de72 /src/glsl/glsl_types.h | |
parent | 9a770ee49f8cb82653bb5c1976f7751d9a6b801e (diff) |
glsl2: Talloc type names.
Otherwise, we end up losing structure names after compile time, and
dumping IR often ends up reporting some other mysterious string.
Diffstat (limited to 'src/glsl/glsl_types.h')
-rw-r--r-- | src/glsl/glsl_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h index 69fb9e3fb5..4bec318167 100644 --- a/src/glsl/glsl_types.h +++ b/src/glsl/glsl_types.h @@ -388,7 +388,6 @@ struct glsl_type { return is_array() ? length : -1; } -private: /** * talloc context for all glsl_type allocations * @@ -396,6 +395,7 @@ private: */ static TALLOC_CTX *ctx; +private: /** Constructor for vector and matrix types */ glsl_type(GLenum gl_type, unsigned base_type, unsigned vector_elements, |