Index: cc/output/gl_renderer_unittest.cc |
diff --git a/cc/output/gl_renderer_unittest.cc b/cc/output/gl_renderer_unittest.cc |
index da940bfc57dc06ecff20e0eadca911f457c383a5..e83b9782b75d821e0943e6bce008735dc16fcb2f 100644 |
--- a/cc/output/gl_renderer_unittest.cc |
+++ b/cc/output/gl_renderer_unittest.cc |
@@ -180,8 +180,12 @@ class GLRendererShaderPixelTest : public GLRendererPixelTest { |
for (int j = 0; j < 2; j++) { |
for (int k = 0; k < 2; k++) { |
for (int l = 0; l < 2; l++) { |
- EXPECT_PROGRAM_VALID( |
- renderer()->GetVideoYUVProgram(precision, sampler, j, k, l)); |
+ for (int m = 0; m < FragmentShaderYUVVideo::LAST_HIGHBIT_TEXTURE; |
+ m++) { |
+ EXPECT_PROGRAM_VALID(renderer()->GetVideoYUVProgram( |
+ precision, sampler, j, k, l, |
+ static_cast<FragmentShaderYUVVideo::HighbitTexture>(m))); |
+ } |
} |
} |
} |