Index: gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
diff --git a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
index 9672db4c7497ca2ceccf15188659390ad1e3f1b3..1a1dbe44fd709e5546b8019bbdf80c9dc9219e36 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
@@ -3436,14 +3436,16 @@ TEST_F(GLES2FormatTest, BeginQueryEXT) { |
static_cast<GLenum>(11), |
static_cast<GLuint>(12), |
static_cast<uint32>(13), |
- static_cast<uint32>(14)); |
+ static_cast<uint32>(14), |
+ static_cast<uint32>(15)); |
EXPECT_EQ(static_cast<uint32>(cmds::BeginQueryEXT::kCmdId), |
cmd.header.command); |
EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u); |
EXPECT_EQ(static_cast<GLenum>(11), cmd.target); |
EXPECT_EQ(static_cast<GLuint>(12), cmd.id); |
- EXPECT_EQ(static_cast<uint32>(13), cmd.sync_data_shm_id); |
- EXPECT_EQ(static_cast<uint32>(14), cmd.sync_data_shm_offset); |
+ EXPECT_EQ(static_cast<uint32>(13), cmd.serial); |
+ EXPECT_EQ(static_cast<uint32>(14), cmd.sync_data_shm_id); |
+ EXPECT_EQ(static_cast<uint32>(15), cmd.sync_data_shm_offset); |
CheckBytesWrittenMatchesExpectedSize( |
next_cmd, sizeof(cmd)); |
} |
@@ -3453,12 +3455,14 @@ TEST_F(GLES2FormatTest, EndQueryEXT) { |
void* next_cmd = cmd.Set( |
&cmd, |
static_cast<GLenum>(11), |
- static_cast<GLuint>(12)); |
+ static_cast<uint32>(12), |
+ static_cast<GLuint>(13)); |
EXPECT_EQ(static_cast<uint32>(cmds::EndQueryEXT::kCmdId), |
cmd.header.command); |
EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u); |
EXPECT_EQ(static_cast<GLenum>(11), cmd.target); |
- EXPECT_EQ(static_cast<GLuint>(12), cmd.submit_count); |
+ EXPECT_EQ(static_cast<uint32>(12), cmd.serial); |
+ EXPECT_EQ(static_cast<GLuint>(13), cmd.submit_count); |
CheckBytesWrittenMatchesExpectedSize( |
next_cmd, sizeof(cmd)); |
} |