commit | 8d45caaebaa017e910ae985e005fadc6b626de7d | [log] [tgz] |
---|---|---|
author | Matt Turner <mattst88@gmail.com> | Wed Jun 26 15:53:12 2013 -0700 |
committer | Matt Turner <mattst88@gmail.com> | Thu Jul 11 20:58:59 2013 -0700 |
tree | 387d04eec10a9d4e9ad5a0b6ed2d61af3e07b06f | |
parent | 5df807b06f20d53063af9cfc5b4fc867f5fb810a [diff] |
glsl: Add an is_declaration field to ast_struct_specifier. Will be used in a later commit to differentiate between a structure type declaration and a variable declaration of a struct type. I.e., the difference between struct S { float x; }; (is_declaration = true) and S s; (is_declaration = false) Also note that is_declaration = true for struct S { float x; } s; Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>