commit | cbb6b6a0416552b5e3fa8589194288532558ccb8 | [log] [tgz] |
---|---|---|
author | shannon.woods%transgaming.com@gtempaccount.com <shannon.woods%transgaming.com@gtempaccount.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Sat Apr 13 03:27:47 2013 +0000 |
committer | shannon.woods%transgaming.com@gtempaccount.com <shannon.woods%transgaming.com@gtempaccount.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Sat Apr 13 03:27:47 2013 +0000 |
tree | 01f8820be5cd9d2da10050fbcfeb915e7a92425f | |
parent | d2d198e37e93fc04fd84299ce384141dd158338c [diff] [blame] |
Added preprocessor support for GL_FRAGMENT_PRECISION_HIGH. I will send the tests in a separate patch because I need to refactor the way compiler_tests are setup. Review URL: https://codereview.appspot.com/7402051 git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2058 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/ShaderLang.cpp b/src/compiler/ShaderLang.cpp index 06372a9..92f3931 100644 --- a/src/compiler/ShaderLang.cpp +++ b/src/compiler/ShaderLang.cpp
@@ -128,6 +128,9 @@ resources->ARB_texture_rectangle = 0; resources->EXT_draw_buffers = 0; + // Disable highp precision in fragment shader by default. + resources->FragmentPrecisionHigh = 0; + // Disable name hashing by default. resources->HashFunction = NULL;