Back out changeset d34a1af95066 (bug 1207288) for Windows mochitest-gl not being that into being validated

CLOSED TREE
This commit is contained in:
Phil Ringnalda 2015-10-13 20:00:38 -07:00
parent 39d48b3bb0
commit 228ec2a1e4
2 changed files with 3 additions and 1 deletions

View File

@ -180,6 +180,8 @@ WebGLContext::InitWebGL2()
mDefaultTransformFeedback = new WebGLTransformFeedback(this, 0);
mBoundTransformFeedback = mDefaultTransformFeedback;
mBypassShaderValidation = true;
return true;
}

View File

@ -99,7 +99,7 @@ WebGLContext::CreateShaderValidator(GLenum shaderType) const
if (mBypassShaderValidation)
return nullptr;
ShShaderSpec spec = IsWebGL2() ? SH_WEBGL2_SPEC : SH_WEBGL_SPEC;
ShShaderSpec spec = SH_WEBGL_SPEC;
ShShaderOutput outputLanguage = gl->IsGLES() ? SH_ESSL_OUTPUT
: SH_GLSL_OUTPUT;