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 091eddafd0a0377b1b9a329e28f372d0fd94ea5b..c02f1179fd1c77bb2dd0f9ab2a3a3f0794aefec0 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h |
@@ -913,6 +913,11 @@ static const GLenum valid_vertex_attribute_table[] = { |
GL_CURRENT_VERTEX_ATTRIB, |
}; |
+static const GLenum valid_vertex_attribute_table_es3[] = { |
+ GL_VERTEX_ATTRIB_ARRAY_INTEGER, |
+ GL_VERTEX_ATTRIB_ARRAY_DIVISOR, |
+}; |
+ |
static const GLenum valid_vertex_pointer_table[] = { |
GL_VERTEX_ATTRIB_ARRAY_POINTER, |
}; |
@@ -1081,6 +1086,8 @@ void Validators::UpdateValuesES3() { |
texture_internal_format_storage.AddValues( |
valid_texture_internal_format_storage_table_es3, |
arraysize(valid_texture_internal_format_storage_table_es3)); |
+ vertex_attribute.AddValues(valid_vertex_attribute_table_es3, |
+ arraysize(valid_vertex_attribute_table_es3)); |
} |
#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H_ |