Commit Graph
9 Commits
Author SHA1 Message Date
Geoff Lang 7095d7a9bc Fix enum names that were not updated in the tests.
Change-Id: Id1bb71d997e710028759a9e9a2e0b24e35f92fc4
2013-11-20 14:48:17 -05:00
[email protected] d0d9f87ac0 Make sure that #version occurs before anything else, except for comments and white space.
Review URL: https://codereview.appspot.com/6348056

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1184 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-07-03 16:06:40 +00:00
[email protected] 2e81891c21 Handled the case where int and float are of correct format, but large. The GLSL spec is not very clear on how integers should be interpreted for expressions. C99 says the expression is of type intmax_t. I am parsing all integers as int except those in expressions, which are being parsed as unsigned int.
Review URL: https://codereview.appspot.com/6351051

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1179 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-06-29 21:26:03 +00:00
[email protected] c745adb0b2 Added PreprocessorTest::preprocess that preprocesses the input string and compares the output with that of the expected string. Renamed other *Test::preprocess methods to something different and clearer.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1126 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-31 18:10:43 +00:00
[email protected] 85a250ed59 Updated VersionTest to use the same pattern as other tests.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1100 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-30 20:45:33 +00:00
[email protected] 484730bc6d Removed the unnecessary usage of GTEST_HAS_PARAM_TEST and GTEST_HAS_COMBINE. I would rather have tests fail to compile than be silently ignored.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1098 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-30 20:13:14 +00:00
[email protected] fc8b72005b Refactored all tests to derive from a common PreprocessorTest. This avoids some code duplication.
Review URL: https://codereview.appspot.com/6257048

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1097 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-25 00:01:13 +00:00
[email protected] e5dfefad46 Renamed UNEXPECTED_TOKEN_IN_DIRECTIVE to UNEXPECTED_TOKEN.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1096 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-24 19:29:37 +00:00
[email protected] 7c884540ad Implemented #extension and #version directives.
Review URL: https://codereview.appspot.com/6242045

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1095 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-24 19:13:03 +00:00