| { | |
| "description": [ | |
| "Copyright 2022 The ANGLE Project Authors. All rights reserved.", | |
| "Use of this source code is governed by a BSD-style license that can be", | |
| "found in the LICENSE file.", | |
| "", | |
| "gl_features.json: angle::Features and workarounds for GL driver bugs and other issues." | |
| ], | |
| "features": [ | |
| { | |
| "name": "avoid_1_bit_alpha_texture_formats", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Issue with 1-bit alpha framebuffer formats" | |
| ] | |
| }, | |
| { | |
| "name": "RGBA4_is_not_supported_for_color_rendering", | |
| "category": "Workarounds", | |
| "description": [ | |
| "GL_RGBA4 is not color renderable" | |
| ] | |
| }, | |
| { | |
| "name": "allow_ETC_formats", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Enable ETC2/EAC on desktop OpenGL" | |
| ] | |
| }, | |
| { | |
| "name": "allow_astc_formats", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Enable ASTC on desktop OpenGL" | |
| ] | |
| }, | |
| { | |
| "name": "clears_with_gaps_need_flush", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Clearing an FBO with multiple attachments may need a flush to avoid race conditions" | |
| ] | |
| }, | |
| { | |
| "name": "does_SRGB_clears_on_linear_framebuffer_attachments", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Issue clearing framebuffers with linear attachments when GL_FRAMEBUFFER_SRGB is enabled" | |
| ] | |
| }, | |
| { | |
| "name": "vertex_ID_does_not_include_base_vertex", | |
| "category": "Workarounds", | |
| "description": [ | |
| "gl_VertexID in GLSL vertex shader doesn't include base vertex value" | |
| ] | |
| }, | |
| { | |
| "name": "finish_does_not_cause_queries_to_be_available", | |
| "category": "Workarounds", | |
| "description": [ | |
| "glFinish doesn't cause all queries to report available result" | |
| ] | |
| }, | |
| { | |
| "name": "always_call_use_program_after_link", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Always call useProgram after a successful link to avoid a driver bug" | |
| ], | |
| "issue": "http://crbug.com/110263" | |
| }, | |
| { | |
| "name": "unpack_overlapping_rows_separately_unpack_buffer", | |
| "category": "Workarounds", | |
| "description": [ | |
| "In the case of unpacking from a pixel unpack buffer, unpack overlapping rows row by row" | |
| ] | |
| }, | |
| { | |
| "name": "pack_overlapping_rows_separately_pack_buffer", | |
| "category": "Workarounds", | |
| "description": [ | |
| "In the case of packing to a pixel pack buffer, pack overlapping rows row by row" | |
| ] | |
| }, | |
| { | |
| "name": "pack_large_row_length_separately_pack_buffer", | |
| "category": "Workarounds", | |
| "description": [ | |
| "When packing to a pixel pack buffer with a row pitch >= 256MiB, pack row by row.", | |
| "Mali GLES computes stride in bits as int32; row_length*bpp*8 wraps at 0x10000000." | |
| ], | |
| "issue": "http://crbug.com/529867799" | |
| }, | |
| { | |
| "name": "initialize_current_vertex_attributes", | |
| "category": "Workarounds", | |
| "description": [ | |
| "During initialization, assign the current vertex attributes to the spec-mandated defaults" | |
| ] | |
| }, | |
| { | |
| "name": "emulate_abs_int_function", | |
| "category": "Workarounds", | |
| "description": [ | |
| "abs(i) where i is an integer returns unexpected result" | |
| ], | |
| "issue": "http://crbug.com/642227" | |
| }, | |
| { | |
| "name": "add_and_true_to_loop_condition", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Calculation of loop conditions in for and while loop has bug" | |
| ] | |
| }, | |
| { | |
| "name": "unpack_last_row_separately_for_padding_inclusion", | |
| "category": "Workarounds", | |
| "description": [ | |
| "When uploading textures from an unpack buffer, some drivers count an extra row padding" | |
| ], | |
| "issue": "http://anglebug.com/42260492" | |
| }, | |
| { | |
| "name": "pack_last_row_separately_for_padding_inclusion", | |
| "category": "Workarounds", | |
| "description": [ | |
| "When uploading textures from an pack buffer, some drivers count an extra row padding" | |
| ], | |
| "issue": "http://anglebug.com/42260492" | |
| }, | |
| { | |
| "name": "use_unused_blocks_with_standard_or_shared_layout", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Unused std140 or shared uniform blocks will be treated as inactive" | |
| ] | |
| }, | |
| { | |
| "name": "remove_invariant_and_centroid_for_ESSL3", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Fix spec difference between GLSL 4.1 or lower and ESSL3" | |
| ] | |
| }, | |
| { | |
| "name": "emulate_atan_2_float", | |
| "category": "Workarounds", | |
| "description": [ | |
| "atan(y, x) may return a wrong answer" | |
| ], | |
| "issue": "http://crbug.com/672380" | |
| }, | |
| { | |
| "name": "reapply_UBO_bindings_after_using_binary_program", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers forget about UBO bindings when using program binaries" | |
| ], | |
| "issue": "http://anglebug.com/42260591" | |
| }, | |
| { | |
| "name": "emulate_max_vertex_attrib_stride", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers return 0 when MAX_VERTEX_ATTRIB_STRIED queried" | |
| ], | |
| "issue": "http://anglebug.com/42260722" | |
| }, | |
| { | |
| "name": "dont_initialize_uninitialized_locals", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Initializing uninitialized locals caused odd behavior in a few WebGL 2 tests" | |
| ], | |
| "issue": "http://anglebug.com/40096454" | |
| }, | |
| { | |
| "name": "clamp_point_size", | |
| "category": "Workarounds", | |
| "description": [ | |
| "The point size range reported from the API is inconsistent with the actual behavior" | |
| ] | |
| }, | |
| { | |
| "name": "force_max_combined_shader_output_resources", | |
| "category": "Features", | |
| "description": [ | |
| "Force GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES to be the sum of GL_MAX_COMBINED_IMAGE_UNIFORMS, GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS, and GL_MAX_COLOR_ATTACHMENTS" | |
| ], | |
| "issue": "" | |
| }, | |
| { | |
| "name": "dont_invalidate_incomplete_FBOs", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Skip invalidation calls if the framebuffer is incomplete." | |
| ], | |
| "issue": "http://crbug.com/507508103" | |
| }, | |
| { | |
| "name": "dont_use_loops_to_initialize_variables", | |
| "category": "Workarounds", | |
| "description": [ | |
| "For loops used to initialize variables hit native GLSL compiler bugs" | |
| ], | |
| "issue": "http://crbug.com/809422" | |
| }, | |
| { | |
| "name": "clamp_frag_depth", | |
| "category": "Workarounds", | |
| "description": [ | |
| "gl_FragDepth is not clamped correctly when rendering to a floating point depth buffer" | |
| ] | |
| }, | |
| { | |
| "name": "rewrite_repeated_assign_to_swizzled", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Repeated assignment to swizzled values inside a ", | |
| "GLSL user-defined function have incorrect results" | |
| ] | |
| }, | |
| { | |
| "name": "pre_transform_texture_cube_grad_derivatives", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Apply a vendor-specific transformation to explicit cubemap derivatives" | |
| ] | |
| }, | |
| { | |
| "name": "unsized_SRGB_read_pixels_doesnt_transform", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Drivers returning raw sRGB values instead of linearized values when calling glReadPixels ", | |
| "on unsized sRGB texture formats" | |
| ], | |
| "issue": "http://crbug.com/550292 http://crbug.com/565179" | |
| }, | |
| { | |
| "name": "query_counter_bits_generates_errors", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Drivers generate errors when querying the number of bits in timer queries" | |
| ], | |
| "issue": "http://anglebug.com/42261713" | |
| }, | |
| { | |
| "name": "limit_webgl_max_texture_size_to_4096", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Limit webgl max texture size to 4096 to avoid frequent ", | |
| "out-of-memory errors" | |
| ], | |
| "issue": "http://crbug.com/927470" | |
| }, | |
| { | |
| "name": "limit_webgl_max_texture_size_to_8192", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Limit webgl max texture size to 8192 to avoid frequent ", | |
| "out-of-memory errors" | |
| ], | |
| "issue": "http://anglebug.com/42267045" | |
| }, | |
| { | |
| "name": "limit_max_MSAA_samples_to_4", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Various rendering bugs have been observed when using higher MSAA counts" | |
| ], | |
| "issue": "http://crbug.com/797243" | |
| }, | |
| { | |
| "name": "disable_MSAA_sample_count_1", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Do not expose multisample sample count 1 to avoid driver bugs" | |
| ], | |
| "issue": "http://anglebug.com/467164245" | |
| }, | |
| { | |
| "name": "allow_clear_for_robust_resource_init", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Using glClear for robust resource initialization is buggy on some drivers and leads to ", | |
| "texture corruption. Default to data uploads except on MacOS where it is very slow." | |
| ], | |
| "issue": "https://crbug.com/848952 http://crbug.com/883276" | |
| }, | |
| { | |
| "name": "clamp_array_access", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Clamp uniform array access to avoid reading invalid memory." | |
| ], | |
| "issue": "http://anglebug.com/40096539" | |
| }, | |
| { | |
| "name": "reset_TexImage2D_base_level", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Reset texture base level before calling glTexImage2D to ", | |
| "work around pixel comparison failure." | |
| ], | |
| "issue": "https://crbug.com/705865" | |
| }, | |
| { | |
| "name": "virtualize_base_level_and_mipchain", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Virtualize GL_TEXTURE_BASE_LEVEL and per-level texture storage using immutable ", | |
| "companion textures so native GL_TEXTURE_BASE_LEVEL is never modified and ", | |
| "oversized mip levels are never allocated on a native mipchain." | |
| ], | |
| "issue": "https://crbug.com/550607402" | |
| }, | |
| { | |
| "name": "copy_image_sub_data_3D_fails_on_tail_mip_levels", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Related to virtualizeBaseLevelAndMipchain workaround. ", | |
| "glCopyImageSubDataEXT fails with GL_INVALID_VALUE on 1x1xD tail mip levels of ", | |
| "3D textures when depth exceeds width and height; re-upload from a CPU shadow ", | |
| "copy or copy slice-by-slice via glCopyTexSubImage3D instead." | |
| ], | |
| "issue": "https://crbug.com/550607402" | |
| }, | |
| { | |
| "name": "readback_3D_depth_stencil_pbos_during_upload", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Related to virtualizeBaseLevelAndMipchain workaround. ", | |
| "Uploading depth/stencil, format-converted, or subrect PBO data via ", | |
| "glTexSubImage3D into an immutable 3D or 2D array texture has a race condition ", | |
| "and offset bug on PowerVR; read back the PBO on the CPU before uploading." | |
| ], | |
| "issue": "https://crbug.com/550607402" | |
| }, | |
| { | |
| "name": "use_scratch_texture_for_converting_copy_sub_image", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Related to virtualizeBaseLevelAndMipchain workaround. ", | |
| "glCopyTexSubImage2D and glCopyTexSubImage3D fail with GL_INVALID_OPERATION on ", | |
| "PowerVR when converting between framebuffer and texture formats; copy into a ", | |
| "temporary 2D texture with glCopyTexImage2D and then transfer via glCopyImageSubData." | |
| ], | |
| "issue": "https://crbug.com/576651388" | |
| }, | |
| { | |
| "name": "recreate_texture_on_tex_image_3d_depth_increase", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Recreate texture and copy existing levels when glTexImage3D is called on a mutable ", | |
| "TEXTURE_3D texture with an increased depth to work around Qualcomm driver bug." | |
| ], | |
| "issue": "http://anglebug.com/530045332" | |
| }, | |
| { | |
| "name": "limit_max_3d_array_texture_size_to_1024", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Limit max 3d texture size and max array texture layers to 1024 to avoid system hang" | |
| ], | |
| "issue": "http://crbug.com/927470" | |
| }, | |
| { | |
| "name": "round_up_3d_texture_size_to_POT_for_limit", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Round up 3D texture dimensions to nearest power of two before checking image allocation ", | |
| "size limits to prevent mishandling of large 3D textures on older PowerVR drivers." | |
| ], | |
| "issue": "http://crbug.com/551673541" | |
| }, | |
| { | |
| "name": "adjust_src_dst_region_for_BlitFramebuffer", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Many platforms have issues with blitFramebuffer when the parameters are large." | |
| ], | |
| "issue": "http://crbug.com/830046" | |
| }, | |
| { | |
| "name": "clip_src_region_for_BlitFramebuffer", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Issues with blitFramebuffer when the parameters don't match the framebuffer size." | |
| ], | |
| "issue": "http://crbug.com/830046" | |
| }, | |
| { | |
| "name": "RGB_DXT1_textures_sample_zero_alpha", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Sampling BLACK texels from RGB DXT1 textures returns transparent black on Mac." | |
| ], | |
| "issue": "http://anglebug.com/42262386" | |
| }, | |
| { | |
| "name": "unfold_short_circuits", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Mac incorrectly executes both sides of && and || expressions when they should ", | |
| "short-circuit." | |
| ], | |
| "issue": "http://anglebug.com/42263407" | |
| }, | |
| { | |
| "name": "emulate_primitive_restart_fixed_index", | |
| "category": "Workarounds", | |
| "description": [ | |
| "When GL_PRIMITIVE_RESTART_FIXED_INDEX is not available, emulate it with ", | |
| "GL_PRIMITIVE_RESTART and glPrimitiveRestartIndex." | |
| ], | |
| "issue": "http://anglebug.com/40096648" | |
| }, | |
| { | |
| "name": "set_primitive_restart_fixed_index_for_draw_arrays", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers discard vertex data in DrawArrays calls when the fixed primitive restart ", | |
| "index is within the number of primitives being drawn." | |
| ], | |
| "issue": "http://anglebug.com/40096648" | |
| }, | |
| { | |
| "name": "remove_dynamic_indexing_of_swizzled_vector", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Dynamic indexing of swizzled l-values doesn't work correctly on various platforms." | |
| ], | |
| "issue": "http://crbug.com/709351" | |
| }, | |
| { | |
| "name": "pre_add_texel_fetch_offsets", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Intel Mac drivers mistakenly consider the parameter position of nagative vaule as invalid ", | |
| "even if the sum of position and offset is in range, so we need to add workarounds by ", | |
| "rewriting texelFetchOffset(sampler, position, lod, offset) into texelFetch(sampler, ", | |
| "position + offset, lod)." | |
| ], | |
| "issue": "http://crbug.com/642605" | |
| }, | |
| { | |
| "name": "read_pixels_using_implementation_color_read_format_for_norm16", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Quite some OpenGL ES drivers don't implement readPixels for RGBA/UNSIGNED_SHORT from ", | |
| "EXT_texture_norm16 correctly" | |
| ], | |
| "issue": "http://anglebug.com/40096661" | |
| }, | |
| { | |
| "name": "flush_before_delete_texture_if_copied_to", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers track CopyTex{Sub}Image texture dependencies incorrectly. Flush", | |
| " before glDeleteTextures in this case" | |
| ], | |
| "issue": "http://anglebug.com/40644715" | |
| }, | |
| { | |
| "name": "rewrite_row_major_matrices", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Rewrite row major matrices in shaders as column major as a driver bug workaround" | |
| ], | |
| "issue": "http://anglebug.com/40096480" | |
| }, | |
| { | |
| "name": "disable_draw_buffers_indexed", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable OES_draw_buffers_indexed extension." | |
| ] | |
| }, | |
| { | |
| "name": "disable_semaphore_fd", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable GL_EXT_semaphore_fd extension" | |
| ], | |
| "issue": "https://crbug.com/1046462" | |
| }, | |
| { | |
| "name": "disable_timestamp_queries", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable GL_EXT_disjoint_timer_query extension" | |
| ], | |
| "issue": "https://crbug.com/811661" | |
| }, | |
| { | |
| "name": "decode_encode_SRGB_for_GenerateMipmap", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Decode and encode before generateMipmap for srgb format textures." | |
| ], | |
| "issue": "http://anglebug.com/40644730" | |
| }, | |
| { | |
| "name": "emulate_CopyTexImage2D", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Replace CopyTexImage2D with TexImage2D + CopyTexSubImage2D." | |
| ] | |
| }, | |
| { | |
| "name": "emulate_CopyTexImage2D_from_renderbuffers", | |
| "category": "Workarounds", | |
| "description": [ | |
| "CopyTexImage2D spuriously returns errors on iOS when copying from renderbuffers." | |
| ], | |
| "issue": "https://anglebug.com/42263273" | |
| }, | |
| { | |
| "name": "force_luma_workaround_for_same_texture_CopyTexImage2D", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Work around incorrect channel results in same-texture LUMA CopyTexImage2D." | |
| ], | |
| "issue": "https://anglebug.com/486067696" | |
| }, | |
| { | |
| "name": "disable_GPU_switching_support", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable GPU switching support (use only the low-power GPU) on older MacBook Pros." | |
| ], | |
| "issue": "https://crbug.com/1091824" | |
| }, | |
| { | |
| "name": "disable_native_parallel_compile", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Do not use native KHR_parallel_shader_compile even when available." | |
| ], | |
| "issue": "http://crbug.com/1094869" | |
| }, | |
| { | |
| "name": "emulate_pack_skip_rows_and_pack_skip_pixels", | |
| "category": "Workarounds", | |
| "description": [ | |
| "GL_PACK_SKIP_ROWS and GL_PACK_SKIP_PIXELS are ignored in Apple's OpenGL driver." | |
| ], | |
| "issue": "https://anglebug.com/40096712" | |
| }, | |
| { | |
| "name": "clamp_msc_rate", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers return bogus values for GetMscRate, so we clamp it to 30Hz" | |
| ], | |
| "issue": "https://crbug.com/1042393" | |
| }, | |
| { | |
| "name": "bind_transform_feedback_buffer_before_bind_buffer_range", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Bind transform feedback buffers to the generic binding point before calling ", | |
| "glBindBufferBase or glBindBufferRange." | |
| ], | |
| "issue": "https://anglebug.com/42263702" | |
| }, | |
| { | |
| "name": "disable_sync_control_support", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Speculative fix for issues on Linux/Wayland where exposing GLX_OML_sync_control renders ", | |
| "Chrome unusable" | |
| ], | |
| "issue": "https://crbug.com/1137851" | |
| }, | |
| { | |
| "name": "keep_buffer_shadow_copy", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Maintain a shadow copy of buffer data when the GL API does not permit reading data back." | |
| ] | |
| }, | |
| { | |
| "name": "set_zero_level_before_GenerateMipmap", | |
| "category": "Workarounds", | |
| "description": [ | |
| "glGenerateMipmap fails if the zero texture level is not set on some Mac drivers." | |
| ] | |
| }, | |
| { | |
| "name": "promote_packed_formats_to_8_bit_per_channel", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Packed color formats are buggy on Macs with AMD GPUs" | |
| ], | |
| "issue": "http://anglebug.com/42264008" | |
| }, | |
| { | |
| "name": "init_fragment_output_variables", | |
| "category": "Workarounds", | |
| "description": [ | |
| "No init gl_FragColor causes context lost" | |
| ], | |
| "issue": "http://crbug.com/1171371" | |
| }, | |
| { | |
| "name": "shift_instanced_array_data_with_offset", | |
| "category": "Workarounds", | |
| "description": [ | |
| "glDrawArraysInstanced is buggy on certain new Mac Intel GPUs" | |
| ], | |
| "issue": "http://crbug.com/1144207" | |
| }, | |
| { | |
| "name": "sync_all_vertex_arrays_to_default", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Only use the default VAO because of missing support or driver bugs" | |
| ], | |
| "issue": "http://anglebug.com/40096758" | |
| }, | |
| { | |
| "name": "sync_default_vertex_arrays_to_default", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Sync all frontend vertex array objects to the driver default vertex array" | |
| ], | |
| "issue": "http://anglebug.com/355034686" | |
| }, | |
| { | |
| "name": "sanitize_AMDGPU_renderer_string", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Strip precise kernel and DRM version information from amdgpu renderer strings." | |
| ], | |
| "issue": "http://crbug.com/1181193" | |
| }, | |
| { | |
| "name": "unbind_FBO_before_switching_context", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Imagination GL drivers are buggy with context switching." | |
| ], | |
| "issue": "http://crbug.com/1181193" | |
| }, | |
| { | |
| "name": "flush_on_framebuffer_change", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Switching framebuffers without a flush can lead to ", | |
| "crashes on Intel 9th Generation GPU Macs." | |
| ], | |
| "issue": "http://crbug.com/1181068" | |
| }, | |
| { | |
| "name": "disable_multisampled_render_to_texture", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Many drivers have bugs when using GL_EXT_multisampled_render_to_texture" | |
| ], | |
| "issue": "http://anglebug.com/40096530" | |
| }, | |
| { | |
| "name": "upload_texture_data_in_chunks", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Upload texture data in <120kb chunks to work around Mac driver hangs and crashes." | |
| ], | |
| "issue": "http://crbug.com/1181068" | |
| }, | |
| { | |
| "name": "emulate_immutable_compressed_texture_3D", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Use non-immutable texture allocation to work around a driver bug." | |
| ], | |
| "issue": "https://crbug.com/1060012" | |
| }, | |
| { | |
| "name": "emulate_RGB10", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Emulate RGB10 support using RGB10_A2." | |
| ], | |
| "issue": "https://crbug.com/1300575" | |
| }, | |
| { | |
| "name": "always_unbind_framebuffer_texture_2D", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Force unbind framebufferTexture2D before binding renderbuffer to work around driver bug." | |
| ], | |
| "issue": "https://anglebug.com/42264072" | |
| }, | |
| { | |
| "name": "disable_texture_clamp_to_border", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Imagination devices generate INVALID_ENUM when setting the texture border color." | |
| ], | |
| "issue": "https://anglebug.com/42265877" | |
| }, | |
| { | |
| "name": "pass_highp_to_pack_unorm_snorm_builtins", | |
| "category": "Workarounds", | |
| "description": [ | |
| "packUnorm4x8 fails on Pixel 4 if it is not passed a highp vec4." | |
| ], | |
| "issue": "http://anglebug.com/42265995" | |
| }, | |
| { | |
| "name": "emulate_clip_distance_state", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers ignore GL_CLIP_DISTANCEi_EXT state." | |
| ] | |
| }, | |
| { | |
| "name": "emulate_clip_origin", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers incorrectly apply GL_CLIP_ORIGIN_EXT state." | |
| ] | |
| }, | |
| { | |
| "name": "bind_complete_framebuffer_for_timer_queries", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers require a complete framebuffer when beginQuery for TimeElapsed or", | |
| "Timestampis called." | |
| ], | |
| "issue": "https://crbug.com/1356053" | |
| }, | |
| { | |
| "name": "disable_base_instance_vertex", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers have buggy implementations of glDraw*BaseVertex*." | |
| ], | |
| "issue": "http://anglebug.com/42266610" | |
| }, | |
| { | |
| "name": "supports_fragment_shader_interlock_NV", | |
| "category": "Features", | |
| "description": [ | |
| "Backend GL context supports NV_fragment_shader_interlock extension" | |
| ], | |
| "issue": "http://anglebug.com/40096838" | |
| }, | |
| { | |
| "name": "supports_fragment_shader_ordering_INTEL", | |
| "category": "Features", | |
| "description": [ | |
| "Backend GL context supports GL_INTEL_fragment_shader_ordering extension" | |
| ], | |
| "issue": "http://anglebug.com/40096838" | |
| }, | |
| { | |
| "name": "supports_fragment_shader_interlock_ARB", | |
| "category": "Features", | |
| "description": [ | |
| "Backend GL context supports ARB_fragment_shader_interlock extension" | |
| ], | |
| "issue": "http://anglebug.com/40096838" | |
| }, | |
| { | |
| "name": "supports_shader_framebuffer_fetch_EXT", | |
| "category": "Features", | |
| "description": [ | |
| "Backend GL context supports EXT_shader_framebuffer_fetch extension" | |
| ], | |
| "issue": "http://anglebug.com/40096838" | |
| }, | |
| { | |
| "name": "supports_shader_framebuffer_fetch_non_coherent_EXT", | |
| "category": "Features", | |
| "description": [ | |
| "Backend GL context supports EXT_shader_framebuffer_fetch_non_coherent extension" | |
| ], | |
| "issue": "http://anglebug.com/40096838" | |
| }, | |
| { | |
| "name": "disable_clip_control", | |
| "category": "Features", | |
| "description": [ | |
| "Some devices genenerate errors when querying the clip control state" | |
| ], | |
| "issue": "http://crbug.com/1434317" | |
| }, | |
| { | |
| "name": "scalarize_vec_and_mat_constructor_args", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Rewrite vec/mat constructors to work around driver bugs" | |
| ], | |
| "issue": "http://crbug.com/1420130" | |
| }, | |
| { | |
| "name": "ensure_non_empty_buffer_is_bound_for_draw", | |
| "category": "Features", | |
| "description": [ | |
| "Apple OpenGL drivers crash when drawing with a zero-sized buffer bound using a non-zero divisor." | |
| ], | |
| "issue": "http://crbug.com/1456243" | |
| }, | |
| { | |
| "name": "explicit_fragment_locations", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Always write explicit location layout qualifiers for fragment outputs." | |
| ], | |
| "issue": "https://anglebug.com/42266740" | |
| }, | |
| { | |
| "name": "disable_render_snorm", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable EXT_render_snorm extension." | |
| ], | |
| "issue": "https://anglebug.com/42266745" | |
| }, | |
| { | |
| "name": "disable_texture_mirror_clamp_to_edge", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable EXT_texture_mirror_clamp_to_edge extension." | |
| ], | |
| "issue": "https://anglebug.com/42266748" | |
| }, | |
| { | |
| "name": "resync_depth_range_on_clip_control", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Resync depth range to apply clip control updates." | |
| ], | |
| "issue": "https://anglebug.com/42266811" | |
| }, | |
| { | |
| "name": "corrupt_program_binary_for_testing", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Corrupt the program binary retrieved from the driver for testing purposes." | |
| ], | |
| "issue": "https://anglebug.com/41488638" | |
| }, | |
| { | |
| "name": "emit_max_glsl_400_for_testing", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Avoid GLSL versions above 4.0 for testing purposes." | |
| ], | |
| "issue": "https://anglebug.com/42267207" | |
| }, | |
| { | |
| "name": "use_intermediate_texture_for_generate_mipmap", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers lose context when repeatedly generating mipmaps on textures that were used as framebuffers." | |
| ], | |
| "issue": "https://crbug.com/40279678" | |
| }, | |
| { | |
| "name": "avoid_bind_frag_data_location", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Qualcomm drivers fail to link after binding fragment data locations." | |
| ], | |
| "issue": "https://anglebug.com/8646" | |
| }, | |
| { | |
| "name": "srgb_blending_broken", | |
| "category": "Workarounds", | |
| "description": [ | |
| "SRGB blending does not appear to work correctly on the some Qualcomm devices. ", | |
| "Writing to an SRGB framebuffer with GL_FRAMEBUFFER_SRGB enabled and ", | |
| "then reading back returns the same value. Disabling GL_FRAMEBUFFER_SRGB ", | |
| "will then convert in the wrong direction." | |
| ], | |
| "issue": "https://crbug.com/40488750" | |
| }, | |
| { | |
| "name": "bgra_tex_image_formats_broken", | |
| "category": "Workarounds", | |
| "description": [ | |
| "BGRA formats do not appear to be accepted by some qualcomm despite the extension being exposed." | |
| ], | |
| "issue": "https://anglebug.com/40096376" | |
| }, | |
| { | |
| "name": "disable_tiled_rendering", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable QCOM_tiled_rendering on devices with rendering artifacts or which improperly expose the extension." | |
| ], | |
| "issue": "http://skbug.com/9491 https://github.com/flutter/flutter/issues/47164 https://github.com/flutter/flutter/issues/47804" | |
| }, | |
| { | |
| "name": "disable_blend_equation_advanced", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable GL_KHR_blend_equation_advanced due to various driver issues." | |
| ], | |
| "issue": "https://anglebug.com/42267098" | |
| }, | |
| { | |
| "name": "reset_sample_coverage_on_FBO_change", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some Adreno drivers assume incorrect glSampleCoverage if new FBO is bound with different sample count" | |
| ], | |
| "issue": "https://crbug.com/408364831" | |
| }, | |
| { | |
| "name": "disable_passthrough_shaders", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some ES2 Mali drivers are unable to query enough information from a linked program to use passthrough shaders." | |
| ], | |
| "issue": "https://crbug.com/451796659" | |
| }, | |
| { | |
| "name": "disable_clear_tex_image_for_robust_init", | |
| "category": "Workarounds", | |
| "description": [ | |
| "IMG drivers are unable to handle glClearTexImage with various format combinations." | |
| ], | |
| "issue": "https://crbug.com/465918231" | |
| }, | |
| { | |
| "name": "multiview_via_viewport_array", | |
| "category": "Features", | |
| "description": [ | |
| "Use ARB_shader_viewport_layer_array or NV_viewport_array2 to implement multiview" | |
| ], | |
| "issue": "http://anglebug.com/42260809" | |
| }, | |
| { | |
| "name": "validate_max_per_stage_uniform_blocks_at_compile_time", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Validate GL_MAX_*_UNIFORM_BLOCKS at compile time instead of link time to work around compiler bugs." | |
| ], | |
| "issue": "http://crbug.com/475877320" | |
| }, | |
| { | |
| "name": "recreate_mipmap_levels_before_generate", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Before calling glGenerateMipmap on a mutable texture, recreate levels that the driver is ", | |
| "supposed to recreate to work around driver bugs." | |
| ], | |
| "issue": "http://crbug.com/491732188" | |
| }, | |
| { | |
| "name": "limit_max_buffer_size_to_1gb", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Some drivers have internal failures when attempting to allocate and initialize buffers larger than 1gb." | |
| ], | |
| "issue": "http://crbug.com/475877320" | |
| }, | |
| { | |
| "name": "reattach_fbo_depth_stencil_on_reallocation", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Reattach FBO depth and stencil attachments when they are reallocated." | |
| ], | |
| "issue": "http://crbug.com/520656244" | |
| }, | |
| { | |
| "name": "disable_clear_texture", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable the EXT_clear_texture extension due to driver bugs." | |
| ], | |
| "issue": "http://crbug.com/475877320" | |
| }, | |
| { | |
| "name": "flush_before_generate_mipmap", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Force a flush before calling generateMipmap to work around driver bugs." | |
| ], | |
| "issue": "http://crbug.com/549350408 https://crbug.com/549995090" | |
| }, | |
| { | |
| "name": "split_level_0_pbo_full_sub_image_2D", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Split full-image level 0 PBO uploads via TexSubImage2D into two calls to work around driver bugs." | |
| ], | |
| "issue": "http://crbug.com/496807874" | |
| }, | |
| { | |
| "name": "limit_output_varyings_to_256_at_compile_time", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Limit the number of declared varying components at compile time to work around a PowerVR driver bug." | |
| ], | |
| "issue": "http://crbug.com/529991907" | |
| }, | |
| { | |
| "name": "avoid_complex_expressions_in_struct_constructor", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Remove complex expressions from struct constructors." | |
| ], | |
| "issue": "http://crbug.com/529509587" | |
| }, | |
| { | |
| "name": "flush_queries_before_deleting_or_unbinding_fbo", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Flush pending GPU jobs/queries before unbinding or deleting a user framebuffer ", | |
| "object on ARM Mali Valhall/Avalon GPUs to avoid driver crash." | |
| ], | |
| "issue": "http://crbug.com/534468209" | |
| }, | |
| { | |
| "name": "reattach_texture_to_fbo_after_layer_increase", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Reattach texture layer to framebuffer after calling TexImage3D to increase layer count on PowerVR Android." | |
| ], | |
| "issue": "http://crbug.com/499602793" | |
| }, | |
| { | |
| "name": "validate_state", | |
| "category": "Features", | |
| "description": [ | |
| "Validate applied driver state frequently." | |
| ], | |
| "issue": "http://anglebug.com/532176406" | |
| }, | |
| { | |
| "name": "finish_before_blit_framebuffer_multi_attachment", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Issue a glFinish before calling glBlitFramebuffer if the draw framebuffer has ", | |
| "multiple color attachments or any color attachment's texture has base_level > 0." | |
| ], | |
| "issue": "http://crbug.com/546252753" | |
| }, | |
| { | |
| "name": "use_tex_sub_image_for_client_data_npot_uploads", | |
| "category": "Workarounds", | |
| "description": [ | |
| "For non-power-of-two textures, upload via TexSubImage2D instead of TexImage2D when uploading client-side data." | |
| ], | |
| "issue": "http://crbug.com/553172761" | |
| }, | |
| { | |
| "name": "double_clear_for_robust_init", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Issue a two-step clear with distinct values during robust resource init to prevent value-collision driver clear-dedup elision on invalidate." | |
| ], | |
| "issue": "http://crbug.com/550489336" | |
| }, | |
| { | |
| "name": "defer_gl_delete_buffers", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Defer glDeleteBuffers calls until previous GPU work has completed." | |
| ], | |
| "issue": "http://crbug.com/558870371" | |
| }, | |
| { | |
| "name": "recreate_fbo_on_attachment_respecification", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Recreate native FBOs on attachment, draw buffers, or read buffer respecification. ", | |
| "Prevents driver hash collisions on PowerVR hardware." | |
| ], | |
| "issue": "http://crbug.com/551065275" | |
| }, | |
| { | |
| "name": "finish_before_same_texture_copy", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Force a finish before copying from a framebuffer whose read attachment is the ", | |
| "destination texture to work around driver bugs." | |
| ], | |
| "issue": "https://crbug.com/552672183" | |
| }, | |
| { | |
| "name": "disable_pixel_local_storage", | |
| "category": "Workarounds", | |
| "description": [ | |
| "Disable ANGLE_shader_pixel_local_storage; kill-switch for known broken GPUs." | |
| ], | |
| "issue": "http://anglebug.com/40096838" | |
| } | |
| ] | |
| } |