Leveraging the fact that there are only a handful of depth/stencil formats, the last element of RenderPassDesc::mAttachmentFormats can contain other information in addition to the depth/stencil format ID. The FormatID enum is rearranged such that depth/stencil formats are placed first, as a result occupying values in [1, 7]. These values take up 3 bits in an element of RenderPassDesc::mAttachmentFormats (which could be the last element if all color draw buffers are attached). As a result, the upper 5 bits of the last element of RenderPassDesc::mAttachmentFormats is unused. It is intended for these bits to be used in the implementation of multisampled-render-to-texture depth/stencil renderbuffers. Bug: angleproject:4836 Change-Id: I0786e0712539cdbbf5494ec83aeee1dd93f936dd Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2413165 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by:Tim Van Patten <timvp@google.com> Reviewed-by:
Jamie Madill <jmadill@chromium.org>
| 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... |