Index: ui/gl/gl_switches.cc |
diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc |
index 334a297cdf137ca3b2bdeec234a81eba86a46cd0..936daf61c2ebe0e548396dd15a630735fddab813 100644 |
--- a/ui/gl/gl_switches.cc |
+++ b/ui/gl/gl_switches.cc |
@@ -58,6 +58,10 @@ const char kUseGpuInTests[] = "use-gpu-in-tests"; |
// On Windows only: use the WARP software rasterizer in the GPU process. |
const char kUseWarp[] = "use-warp"; |
+// Include ANGLE's intermediate representation (AST) output in shader |
+// compilation info logs. |
+const char kGLShaderIntermOutput[] = "gl-shader-interm-output"; |
+ |
// Disables GL drawing operations which produce pixel output. With this |
// the GL output will not be correct but tests will run faster. |
const char kDisableGLDrawingForTests[] = "disable-gl-drawing-for-tests"; |
@@ -77,7 +81,8 @@ const char* kGLSwitchesCopiedFromGpuProcessHost[] = { |
kGpuNoContextLost, |
kDisableGLDrawingForTests, |
kOverrideUseGLWithOSMesaForTests, |
- kUseWarp |
+ kUseWarp, |
+ kGLShaderIntermOutput |
}; |
const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = |
arraysize(kGLSwitchesCopiedFromGpuProcessHost); |