Index: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
index 9727f76b2108ab5b645072731ec75a9a3c7608e9..97c3cdd5b05b6e3eafbd632c7823353da1799c87 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
@@ -562,6 +562,17 @@ static const GLenum valid_uniform_block_parameter_table[] = { |
GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER, |
}; |
+static const GLenum valid_uniform_parameter_table[] = { |
+ GL_UNIFORM_SIZE, |
+ GL_UNIFORM_TYPE, |
+ GL_UNIFORM_NAME_LENGTH, |
+ GL_UNIFORM_BLOCK_INDEX, |
+ GL_UNIFORM_OFFSET, |
+ GL_UNIFORM_ARRAY_STRIDE, |
+ GL_UNIFORM_MATRIX_STRIDE, |
+ GL_UNIFORM_IS_ROW_MAJOR, |
+}; |
+ |
static const GLenum valid_value_buffer_target_table[] = { |
GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, |
}; |
@@ -710,6 +721,8 @@ Validators::Validators() |
arraysize(valid_transform_feedback_primitive_mode_table)), |
uniform_block_parameter(valid_uniform_block_parameter_table, |
arraysize(valid_uniform_block_parameter_table)), |
+ uniform_parameter(valid_uniform_parameter_table, |
+ arraysize(valid_uniform_parameter_table)), |
value_buffer_target(valid_value_buffer_target_table, |
arraysize(valid_value_buffer_target_table)), |
vertex_attrib_size(valid_vertex_attrib_size_table, |