Commit Graph
6 Commits
Author SHA1 Message Date
Zhenyao Mo 94ac7b786f Invariant related processing.
* Fix a bug in PreProcessor for STDGL pragma.
* Record all invariant settings and set them in ShaderVariable.
* Write #pragma STDGL invariant(all) in GL

BUG=angle:776
TEST=https://www.khronos.org/registry/webgl/sdk/tests/conformance/glsl/misc/shaders-with-invariance.html

Change-Id: Ie28b75480deed79f0c9f26e3b98f1778d1290182
Reviewed-on: https://chromium-review.googlesource.com/223610
Tested-by: Zhenyao Mo <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2014-10-21 17:31:41 +00:00
Geoff Lang a9b3e4c834 Fix enum names in preprocessor tests.
Change-Id: I6c08c43ecb2ad593119f85c05a802473348cafb7
Reviewed-on: https://chromium-review.googlesource.com/178430
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Nicolas Capens <[email protected]>
Commit-Queue: Nicolas Capens <[email protected]>
Tested-by: Nicolas Capens <[email protected]>
2013-11-28 19:53:02 +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] 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] 36124de8ce Implemented #error and #pragma directives. Added new tests and updated old ones for the new preprocessor API.
Review URL: https://codereview.appspot.com/6213066

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1094 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-24 02:17:43 +00:00