Index: gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h |
diff --git a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h |
index db3a6c48f0366e5ade71c671fa5d0fad73bc1d8c..559991ae6589d52a5f6b2b7249cddde20d73bc5e 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h |
+++ b/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h |
@@ -5260,6 +5260,23 @@ std::string GLES2Util::GetStringTransformFeedbackPrimitiveMode(uint32_t value) { |
arraysize(string_table), value); |
} |
+std::string GLES2Util::GetStringUniformBlockParameter(uint32_t value) { |
+ static const EnumToString string_table[] = { |
+ {GL_UNIFORM_BLOCK_BINDING, "GL_UNIFORM_BLOCK_BINDING"}, |
+ {GL_UNIFORM_BLOCK_DATA_SIZE, "GL_UNIFORM_BLOCK_DATA_SIZE"}, |
+ {GL_UNIFORM_BLOCK_NAME_LENGTH, "GL_UNIFORM_BLOCK_NAME_LENGTH"}, |
+ {GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, "GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS"}, |
+ {GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, |
+ "GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES"}, |
+ {GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER, |
+ "GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER"}, |
+ {GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER, |
+ "GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER"}, |
+ }; |
+ return GLES2Util::GetQualifiedEnumString(string_table, |
+ arraysize(string_table), value); |
+} |
+ |
std::string GLES2Util::GetStringValueBufferTarget(uint32_t value) { |
static const EnumToString string_table[] = { |
{GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, |