Previously, all non-compressed formats were satisfied with a 4-byte alignment. The introduction of float formats changes this. This change calculates the necessary alignment using the same code path as compressed formats. Also fixes RGB9E5's pixelByte being calculated as 3 instead of 4. Bug: angleproject:3731 Change-Id: I6abfd1c294e7f863eb99d2468eaac09e5d714039 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1715205Reviewed-by:Mohan Maiya <m.maiya@samsung.com> Reviewed-by:
Jamie Madill <jmadill@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| ANGLE_format.json | Loading commit data... | |
| ANGLE_load_functions_table.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... | |
| ESSL_static_builtins.json | Loading commit data... | |
| Emulated_HLSL_functions.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... | |
| OpenGL_dispatch_table.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... | |
| packed_enum.json | Loading commit data... | |
| proc_table.json | Loading commit data... | |
| uniform_type.json | Loading commit data... |