| Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
|
| index 4f6977ab16eef8ba47d5e3b62ce48f55f6609f81..aef4b74f1b817841d39d004b3b1da00b7f947e51 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
|
| @@ -97,7 +97,6 @@ void GLES3DecoderTest::SetUp() {
|
| InitDecoderWithCommandLine(init, &command_line);
|
| }
|
|
|
| -
|
| TEST_P(GLES3DecoderTest, Basic) {
|
| // Make sure the setup is correct for ES3.
|
| EXPECT_TRUE(decoder_->unsafe_es3_apis_enabled());
|
| @@ -1569,6 +1568,17 @@ TEST_P(GLES2DecoderDoCommandsTest, DoCommandsBadArgSize) {
|
| EXPECT_EQ(entries_per_cmd_ + cmds_[1].header.size, num_processed);
|
| }
|
|
|
| +void GLES3DecoderWithESSL3ShaderTest::SetUp() {
|
| + base::CommandLine command_line(0, nullptr);
|
| + command_line.AppendSwitch(switches::kEnableUnsafeES3APIs);
|
| + InitState init;
|
| + init.gl_version = "OpenGL ES 3.0";
|
| + init.bind_generates_resource = true;
|
| + init.context_type = CONTEXT_TYPE_OPENGLES3;
|
| + InitDecoderWithCommandLine(init, &command_line);
|
| + SetupDefaultProgram();
|
| +}
|
| +
|
| INSTANTIATE_TEST_CASE_P(Service, GLES2DecoderTest, ::testing::Bool());
|
|
|
| INSTANTIATE_TEST_CASE_P(Service, GLES2DecoderWithShaderTest, ::testing::Bool());
|
| @@ -1583,5 +1593,9 @@ INSTANTIATE_TEST_CASE_P(Service, GLES2DecoderDoCommandsTest, ::testing::Bool());
|
|
|
| INSTANTIATE_TEST_CASE_P(Service, GLES3DecoderTest, ::testing::Bool());
|
|
|
| +INSTANTIATE_TEST_CASE_P(Service,
|
| + GLES3DecoderWithESSL3ShaderTest,
|
| + ::testing::Bool());
|
| +
|
| } // namespace gles2
|
| } // namespace gpu
|
|
|