Previously the enum conversion script would convert all enums in gl.xml including those for desktop GL. When replaying from a CPP file we would sometimes try to use enum values that only are exposed in desktop GL. One example is GL_TEXTURE_MAX_ANISOTROPY/GL_TEXTURE_MAX_ANISOTROPY_EXT. GLES only has the "EXT" version. Desktop uses the core version. This was breaking a replay sample that used the EXT enum. Fix this by a) including the anisotropy extension in registry_xml and b) updating the enum script to only parse GLES 2 entries. In the future we could improve the situation by auto-generating a header that defines exactly the enums we need for ANGLE. Also updates the enum helper to use uppercase enum values. Bug: angleproject:3611 Change-Id: I1e01608bc8af282dc078d5a19ac4eba659c96b57 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1894143 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by:Tim Van Patten <timvp@google.com>
| 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... | |
| 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... | |
| 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... | |
| uniform_type.json | Loading commit data... |