| Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc
|
| index 4686867c8630d57dc6e796af0f31871fcd104de1..4bad84965289a71c189a1e9371692a09dfc8e2a1 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc
|
| @@ -607,8 +607,14 @@ TEST_P(GLES2DecoderWithShaderTest, GetAttachedShadersBadSharedMemoryFails) {
|
| EXPECT_NE(error::kNoError, ExecuteCmd(cmd));
|
| }
|
|
|
| -TEST_P(GLES2DecoderWithShaderTest, GetShaderPrecisionFormatSucceeds) {
|
| - ScopedGLImplementationSetter gl_impl(::gl::kGLImplementationEGLGLES2);
|
| +TEST_P(GLES2DecoderManualInitTest, GetShaderPrecisionFormatSucceeds) {
|
| + // Force ES underlying implementation to ensure we check the shader precision
|
| + // format.
|
| + InitState init;
|
| + init.gl_version = "opengl es 2.0";
|
| + init.bind_generates_resource = true;
|
| + InitDecoder(init);
|
| +
|
| GetShaderPrecisionFormat cmd;
|
| typedef GetShaderPrecisionFormat::Result Result;
|
| Result* result = static_cast<Result*>(shared_memory_address_);
|
|
|