diff options
author | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 00:59:12 +0000 |
---|---|---|
committer | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 00:59:12 +0000 |
commit | a2a0fe765475d7434d453bcab9ae01fe5600c63c (patch) | |
tree | 3003223b1b927104fc020808b59e0e3c643f4419 /gpu/command_buffer/service/gles2_cmd_decoder.h | |
parent | 95604b9ee186f5d8d082477bdde2c11276a9a5cf (diff) | |
download | chromium_src-a2a0fe765475d7434d453bcab9ae01fe5600c63c.zip chromium_src-a2a0fe765475d7434d453bcab9ae01fe5600c63c.tar.gz chromium_src-a2a0fe765475d7434d453bcab9ae01fe5600c63c.tar.bz2 |
Turn on glsl built-in function emulation in ANGLE shader translator.
At the moment we need to turn it on for ATI/Mac and also Windows/D3D.
Also, added the switch to turn of driver bug workaround, although this CL doesn't hook it up with all workarounds yet.
BUG=96293
TEST=failing webgl glsl feature tests passing, with the switch, these tests fail.
Review URL: http://codereview.chromium.org/7923002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_decoder.h')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h index 35ad67d..0d83c23 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.h +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h @@ -30,9 +30,13 @@ class ContextGroup; class GLES2Util; struct DisallowedExtensions { - DisallowedExtensions() : multisampling(false) {} + DisallowedExtensions() + : multisampling(false), + driver_bug_workarounds(false) { + } bool multisampling; + bool driver_bug_workarounds; }; // This class implements the AsyncAPIInterface interface, decoding GLES2 |