summaryrefslogtreecommitdiff
path: root/chromium/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h')
-rw-r--r--chromium/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h b/chromium/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
index 0127b476ba8..b83aaedf4cf 100644
--- a/chromium/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
+++ b/chromium/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
@@ -2845,6 +2845,17 @@ TEST_F(GLES2ImplementationTest, DrawArraysInstancedANGLE) {
EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
}
+TEST_F(GLES2ImplementationTest, DrawArraysInstancedBaseInstanceANGLE) {
+ struct Cmds {
+ cmds::DrawArraysInstancedBaseInstanceANGLE cmd;
+ };
+ Cmds expected;
+ expected.cmd.Init(GL_POINTS, 2, 3, 4, 5);
+
+ gl_->DrawArraysInstancedBaseInstanceANGLE(GL_POINTS, 2, 3, 4, 5);
+ EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
+}
+
TEST_F(GLES2ImplementationTest, VertexAttribDivisorANGLE) {
struct Cmds {
cmds::VertexAttribDivisorANGLE cmd;