summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_types.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2012-12-11 12:09:32 -0800
committerIan Romanick <ian.d.romanick@intel.com>2013-01-25 09:07:33 -0500
commit7f96a8471e8ddf2b49a644780f35ee493157782a (patch)
tree296618aa8f9af155d113cd082ee1e45c54877c8f /src/glsl/glsl_types.h
parent51f740cd5ada5242b27928e0dcfd662f48820342 (diff)
downloadexternal_mesa3d-7f96a8471e8ddf2b49a644780f35ee493157782a.zip
external_mesa3d-7f96a8471e8ddf2b49a644780f35ee493157782a.tar.gz
external_mesa3d-7f96a8471e8ddf2b49a644780f35ee493157782a.tar.bz2
glsl: Add row_major field to glsl_struct_field
For now, this will always be false. In the near future, an "interface" type will be added that shares a lot of infrastructure with structures. v2: Move row_major checking in glsl_type::record_key_compare from the next patch to this patch. Suggested by Paul Berry. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Carl Worth <cworth@cworth.org> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/glsl_types.h')
-rw-r--r--src/glsl/glsl_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h
index d6f5c10..24ad844 100644
--- a/src/glsl/glsl_types.h
+++ b/src/glsl/glsl_types.h
@@ -566,6 +566,7 @@ private:
struct glsl_struct_field {
const struct glsl_type *type;
const char *name;
+ bool row_major;
};
#endif /* __cplusplus */