Index: gpu/command_buffer/common/gles2_cmd_format_autogen.h |
diff --git a/gpu/command_buffer/common/gles2_cmd_format_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
index 9b1a225eec6b2282455e9c43b1d0f82fd4c6236f..85fe48295716db79e7325afa8c3fac064437cb6e 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
@@ -15490,6 +15490,39 @@ static_assert(offsetof(ProgramPathFragmentInputGenCHROMIUM, |
"offset of ProgramPathFragmentInputGenCHROMIUM coeffs_shm_offset " |
"should be 24"); |
+struct CoverageModulationCHROMIUM { |
+ typedef CoverageModulationCHROMIUM ValueType; |
+ static const CommandId kCmdId = kCoverageModulationCHROMIUM; |
+ static const cmd::ArgFlags kArgFlags = cmd::kFixed; |
+ static const uint8 cmd_flags = CMD_FLAG_SET_TRACE_LEVEL(3); |
+ |
+ static uint32_t ComputeSize() { |
+ return static_cast<uint32_t>(sizeof(ValueType)); // NOLINT |
+ } |
+ |
+ void SetHeader() { header.SetCmd<ValueType>(); } |
+ |
+ void Init(GLenum _components) { |
+ SetHeader(); |
+ components = _components; |
+ } |
+ |
+ void* Set(void* cmd, GLenum _components) { |
+ static_cast<ValueType*>(cmd)->Init(_components); |
+ return NextCmdAddress<ValueType>(cmd); |
+ } |
+ |
+ gpu::CommandHeader header; |
+ uint32_t components; |
+}; |
+ |
+static_assert(sizeof(CoverageModulationCHROMIUM) == 8, |
+ "size of CoverageModulationCHROMIUM should be 8"); |
+static_assert(offsetof(CoverageModulationCHROMIUM, header) == 0, |
+ "offset of CoverageModulationCHROMIUM header should be 0"); |
+static_assert(offsetof(CoverageModulationCHROMIUM, components) == 4, |
+ "offset of CoverageModulationCHROMIUM components should be 4"); |
+ |
struct BlendBarrierKHR { |
typedef BlendBarrierKHR ValueType; |
static const CommandId kCmdId = kBlendBarrierKHR; |