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 ccdc040a007916f424d044200dda4c6943990c27..61f6e72d0c892ba70af2d69b6a5e43742566cae0 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
@@ -9014,4 +9014,30 @@ COMPILE_ASSERT(offsetof(MatrixLoadIdentityCHROMIUM, header) == 0, |
COMPILE_ASSERT(offsetof(MatrixLoadIdentityCHROMIUM, matrixMode) == 4, |
OffsetOf_MatrixLoadIdentityCHROMIUM_matrixMode_not_4); |
+struct BlendBarrierNV { |
+ typedef BlendBarrierNV ValueType; |
+ static const CommandId kCmdId = kBlendBarrierNV; |
+ 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() { SetHeader(); } |
+ |
+ void* Set(void* cmd) { |
+ static_cast<ValueType*>(cmd)->Init(); |
+ return NextCmdAddress<ValueType>(cmd); |
+ } |
+ |
+ gpu::CommandHeader header; |
+}; |
+ |
+COMPILE_ASSERT(sizeof(BlendBarrierNV) == 4, Sizeof_BlendBarrierNV_is_not_4); |
+COMPILE_ASSERT(offsetof(BlendBarrierNV, header) == 0, |
+ OffsetOf_BlendBarrierNV_header_not_0); |
+ |
#endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_FORMAT_AUTOGEN_H_ |