FormatID_autogen.h's enums' order was altered by CL https://chromium-review.googlesource.com/c/angle/angle/+/2413165 However, Metal default shaders relied on old order thus the result PBO related computation based on enum value has become wrong. This CL reuse gen_angle_format_table.gen_enum_string() function to generate format enums for both - src/libANGLE/renderer/FormatID_autogen.h (used by C++) - src/libANGLE/renderer/metal/shaders/format_autogen.h (used by Metal default shaders) Bug: angleproject:2634 Change-Id: I52fad168d1932e0386dcf789574f06d341dbd9c3 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2418500 Commit-Queue: Jonah Ryan-Davis <jonahr@google.com> Reviewed-by:Jamie Madill <jmadill@chromium.org> Reviewed-by:
Jonah Ryan-Davis <jonahr@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| ANGLE_format.json | Loading commit data... | |
| ANGLE_load_functions_table.json | Loading commit data... | |
| ANGLE_shader_preprocessor.json | Loading commit data... | |
| ANGLE_shader_translator.json | Loading commit data... | |
| D3D11_blit_shader_selection.json | Loading commit data... | |
| D3D11_format.json | Loading commit data... | |
| DXGI_format.json | Loading commit data... | |
| DXGI_format_support.json | Loading commit data... | |
| Emulated_HLSL_functions.json | Loading commit data... | |
| GL_CTS_(dEQP)_build_files.json | Loading commit data... | |
| GL_EGL_WGL_loader.json | Loading commit data... | |
| GL_EGL_entry_points.json | Loading commit data... | |
| GL_copy_conversion_table.json | Loading commit data... | |
| GL_format_map.json | Loading commit data... | |
| GLenum_value_to_string_map.json | Loading commit data... | |
| Metal_default_shaders.json | Loading commit data... | |
| Metal_format_table.json | Loading commit data... | |
| OpenGL_dispatch_table.json | Loading commit data... | |
| Static_builtins.json | Loading commit data... | |
| Vulkan_format.json | Loading commit data... | |
| Vulkan_internal_shader_programs.json | Loading commit data... | |
| Vulkan_mandatory_format_support_table.json | Loading commit data... | |
| overlay_fonts.json | Loading commit data... | |
| overlay_widgets.json | Loading commit data... | |
| packed_enum.json | Loading commit data... | |
| proc_table.json | Loading commit data... | |
| restricted_traces.json | Loading commit data... | |
| uniform_type.json | Loading commit data... |