Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h |
index e1f3566e1a56bca06f8d681469ab125d26de788c..7e6c5d103d7283c84b5693475af40b75941fad82 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h |
@@ -12,6 +12,20 @@ |
#ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_3_AUTOGEN_H_ |
#define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_3_AUTOGEN_H_ |
+TEST_P(GLES2DecoderTest3, VertexAttrib4fvImmediateValidArgs) { |
+ cmds::VertexAttrib4fvImmediate& cmd = |
+ *GetImmediateAs<cmds::VertexAttrib4fvImmediate>(); |
+ SpecializedSetup<cmds::VertexAttrib4fvImmediate, 0>(true); |
+ GLfloat temp[4] = { |
+ 0, |
+ }; |
+ cmd.Init(1, &temp[0]); |
+ EXPECT_CALL(*gl_, VertexAttrib4fv(1, reinterpret_cast<GLfloat*>( |
+ ImmediateDataAddress(&cmd)))); |
+ EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp))); |
+ EXPECT_EQ(GL_NO_ERROR, GetGLError()); |
+} |
+ |
TEST_P(GLES2DecoderTest3, VertexAttribI4iValidArgs) { |
EXPECT_CALL(*gl_, VertexAttribI4i(1, 2, 3, 4, 5)); |
SpecializedSetup<cmds::VertexAttribI4i, 0>(true); |