Commit Graph

15 Commits

Author SHA1 Message Date
Roberto Raggi
61e99b3deb Run the semantic checker and check for invalid function calls. 2010-11-26 12:55:55 +01:00
Roberto Raggi
455429794c Propagate the ExprResult::isConstant attribute. 2010-11-26 12:55:54 +01:00
Roberto Raggi
fbbf8eefc1 Compute the types of literal expressions. 2010-11-26 12:55:54 +01:00
Roberto Raggi
d0e7e7462b Check for undefined symbols. 2010-11-26 12:55:54 +01:00
Roberto Raggi
a8b3c0e2ce Create symbols for variable declarations. 2010-11-26 12:55:54 +01:00
Roberto Raggi
beea3ed556 Check for undefined types. 2010-11-26 12:55:54 +01:00
Roberto Raggi
ded9ed66ef Evaluate the expression's attributes. 2010-11-26 12:08:43 +01:00
Roberto Raggi
57e8816001 Added GLSL::OverloadSet. 2010-11-26 12:00:53 +01:00
Rhys Weatherley
c2eaf37f01 Add GLSL sampler types to semantic analysis phase 2010-11-26 14:00:29 +10:00
Rhys Weatherley
e6f1fa0637 Fix AST for GLSL DeclarationStatement
DeclarationStatement wraps a single declaration, not a list.
2010-11-26 10:06:05 +10:00
Roberto Raggi
e2419153a5 Process function declarations. 2010-11-25 14:58:23 +01:00
Roberto Raggi
392fa4ab7e Process the basic types. 2010-11-25 13:27:18 +01:00
Roberto Raggi
54fbb5210f Get the types from the AST nodes. 2010-11-25 13:10:01 +01:00
Roberto Raggi
864c3bfc98 Added the suffix AST to the ast nodes and some initial work on the GLSL type system. 2010-11-25 12:56:16 +01:00
Roberto Raggi
3cc8341e5c Initial work on the semantic pass. 2010-11-25 10:41:16 +01:00