OSDN Git Service

glsl: Add row_major field to glsl_struct_field
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 11 Dec 2012 20:09:32 +0000 (12:09 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 14:07:33 +0000 (09:07 -0500)
commit7f96a8471e8ddf2b49a644780f35ee493157782a
tree296618aa8f9af155d113cd082ee1e45c54877c8f
parent51f740cd5ada5242b27928e0dcfd662f48820342
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>
src/glsl/builtin_types.h
src/glsl/glsl_types.cpp
src/glsl/glsl_types.h