| 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 cee9167164c83681e7111b3ccd473dad16be7fdb..c1f5dfd1e63a98bffd0579c5f56f42d15f316eca 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| +++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
| @@ -4783,11 +4783,11 @@ TEST_F(GLES2FormatTest, ScheduleOverlayPlaneCHROMIUM) {
|
| TEST_F(GLES2FormatTest, ScheduleCALayerCHROMIUM) {
|
| cmds::ScheduleCALayerCHROMIUM& cmd =
|
| *GetBufferAs<cmds::ScheduleCALayerCHROMIUM>();
|
| - void* next_cmd =
|
| - cmd.Set(&cmd, static_cast<GLuint>(11), static_cast<GLfloat>(12),
|
| - static_cast<GLuint>(13), static_cast<GLuint>(14),
|
| - static_cast<GLboolean>(15), static_cast<GLint>(16),
|
| - static_cast<GLuint>(17), static_cast<GLuint>(18));
|
| + void* next_cmd = cmd.Set(&cmd, static_cast<GLuint>(11),
|
| + static_cast<GLfloat>(12), static_cast<GLuint>(13),
|
| + static_cast<GLuint>(14), static_cast<GLboolean>(15),
|
| + static_cast<GLint>(16), static_cast<GLuint>(17),
|
| + static_cast<GLuint>(18), static_cast<GLuint>(19));
|
| EXPECT_EQ(static_cast<uint32_t>(cmds::ScheduleCALayerCHROMIUM::kCmdId),
|
| cmd.header.command);
|
| EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u);
|
| @@ -4797,8 +4797,9 @@ TEST_F(GLES2FormatTest, ScheduleCALayerCHROMIUM) {
|
| EXPECT_EQ(static_cast<GLuint>(14), cmd.edge_aa_mask);
|
| EXPECT_EQ(static_cast<GLboolean>(15), cmd.is_clipped);
|
| EXPECT_EQ(static_cast<GLint>(16), cmd.sorting_context_id);
|
| - EXPECT_EQ(static_cast<GLuint>(17), cmd.shm_id);
|
| - EXPECT_EQ(static_cast<GLuint>(18), cmd.shm_offset);
|
| + EXPECT_EQ(static_cast<GLuint>(17), cmd.filter);
|
| + EXPECT_EQ(static_cast<GLuint>(18), cmd.shm_id);
|
| + EXPECT_EQ(static_cast<GLuint>(19), cmd.shm_offset);
|
| CheckBytesWrittenMatchesExpectedSize(next_cmd, sizeof(cmd));
|
| }
|
|
|
|
|