1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Determines whether a certain driver bug exists in the current system.
6 // The format of a valid gpu_driver_bug_list.json file is defined in
7 // <gpu/config/gpu_control_list_format.txt>.
8 // The supported "features" can be found in
9 // <gpu/config/gpu_driver_bug_workaround_type.h>.
11 #include "gpu/config/gpu_control_list_jsons.h"
13 #define LONG_STRING_CONST(...) #__VA_ARGS__
17 const char kGpuDriverBugListJson
[] = LONG_STRING_CONST(
20 "name": "gpu driver bug list",
21 // Please update the version number whenever you change this file.
26 "description": "Imagination driver doesn't like uploading lots of buffer data constantly",
32 "value": "Imagination"
35 "use_client_side_arrays_for_stream_buffers"
40 "description": "ARM driver doesn't like uploading lots of buffer data constantly",
49 "use_client_side_arrays_for_stream_buffers"
55 "set_texture_filter_before_generating_mipmap"
60 "description": "Need to set the alpha to 255",
62 "clear_alpha_in_readpixels"
67 "vendor_id": "0x10de",
69 "use_current_program_after_successful_link"
74 "cr_bugs": [165493, 222018],
87 "restore_scissor_on_fbo_change"
96 "vendor_id": "0x10de",
98 "needs_offscreen_buffer_workaround"
106 "vendor_id": "0x1002",
108 "needs_glsl_built_in_function_emulation"
113 "description": "Mac AMD drivers get gl_PointCoord backward on OSX 10.8 or earlier",
122 "vendor_id": "0x1002",
124 "reverse_point_sprite_coord_origin"
129 "description": "Mac Intel drivers get gl_PointCoord backward on OSX 10.8 or earlier",
138 "vendor_id": "0x8086",
140 "reverse_point_sprite_coord_origin"
148 "vendor_id": "0x8086",
150 "max_texture_size_limit_4096"
158 "vendor_id": "0x8086",
160 "max_cube_map_texture_size_limit_1024"
172 "vendor_id": "0x8086",
174 "max_cube_map_texture_size_limit_512"
182 "vendor_id": "0x1002",
184 "max_texture_size_limit_4096",
185 "max_cube_map_texture_size_limit_4096"
190 "description": "Some Android Qualcomm drivers falsely report GL_ANGLE_framebuffer_multisample",
200 "disable_angle_framebuffer_multisample"
205 "description": "Intel drivers on Linux appear to be buggy",
209 "vendor_id": "0x8086",
211 "disable_ext_occlusion_query"
216 "description": "Some drivers are unable to reset the D3D device in the GPU process sandbox",
221 "exit_on_context_lost"
226 "description": "Everything except async + NPOT + multiple-of-8 textures are brutally slow for Imagination drivers",
232 "value": "Imagination"
235 "enable_chromium_fast_npot_mo8_textures"
248 "disable_depth_texture"
253 "description": "Disable EXT_draw_buffers on GeForce GT 650M on Mac OS X due to driver bugs.",
257 "vendor_id": "0x10de",
258 "device_id": ["0x0fd5"],
259 "multi_gpu_category": "any",
261 "disable_ext_draw_buffers"
266 "description": "Vivante GPUs are buggy with context switching.",
267 "cr_bugs": [179250, 235935],
273 "value": "GL_VIV_shader_binary"
276 "unbind_fbo_on_context_switch"
281 "description": "Imagination drivers are buggy with context switching.",
288 "value": "Imagination"
291 "unbind_fbo_on_context_switch"
297 "description": "Disable OES_standard_derivative on Intel Pineview M Gallium drivers.",
301 "vendor_id": "0x8086",
302 "device_id": ["0xa011", "0xa012"],
304 "disable_oes_standard_derivatives"
310 "description": "Mali-400 drivers throw an error when a buffer object's size is set to 0.",
323 "use_non_zero_size_for_client_side_stream_buffers"
330 "PBO + Readpixels + intel gpu doesn't work on OSX 10.7.",
338 "vendor_id": "0x8086",
340 "disable_async_readpixels"
345 "description": "Disable use of Direct3D 11 on Windows Vista and lower.",
360 "description": "Async Readpixels with GL_BGRA format is broken on Haswell chipset on Mac.",
364 "vendor_id": "0x8086",
365 "device_id": ["0x0402", "0x0406", "0x040a", "0x0412", "0x0416", "0x041a",
366 "0x0a04", "0x0a16", "0x0a22", "0x0a26", "0x0a2a"],
368 "swizzle_rgba_for_async_readpixels"
374 "description": "Disable use of ANGLE_instanced_arrays on Windows",
379 "disable_angle_instanced_arrays"
385 "description": "Testing fences is broken on QualComm.",
394 "disable_async_readpixels"
400 "description": "Multisampling is buggy on OSX when multiple monitors are connected",
405 "disable_multimonitor_multisampling"
410 "cr_bugs": [154715, 10068, 269829],
411 "description": "The Nexus 10 Mali driver does not guarantee flush ordering.",
424 "use_virtualized_gl_contexts"
430 "description": "Share groups are not working on (older?) Broadcom drivers.",
439 "use_virtualized_gl_contexts"
444 "description": "Share group-related crashes and poor context switching perf on Galaxy Nexus.",
450 "value": "Imagination"
453 "use_virtualized_gl_contexts"
458 "cr_bugs": [179250, 229643, 230896],
459 "description": "Share groups are not working on (older?) Vivante drivers.",
465 "value": "GL_VIV_shader_binary"
468 "use_virtualized_gl_contexts"
474 "description": "Share-group related crashes on older NVIDIA drivers.",
487 "use_virtualized_gl_contexts"
492 "cr_bugs": [163464, 233612],
493 "description": "Share-group related crashes on Qualcomm drivers.",
506 "use_virtualized_gl_contexts"
512 "description": "Program link fails in NVIDIA Linux if gl_Position is not set",
516 "vendor_id": "0x10de",
518 "init_gl_position_in_vertex_shader"
524 "description": "Non-virtual contexts on Qualcomm sometimes cause out-of-order frames",
533 "use_virtualized_gl_contexts"
539 "description": "Multisampled renderbuffer allocation must be validated on some Macs",
544 "validate_multisample_buffer_allocation"
550 "description": "Framebuffer discarding causes flickering on ARM",
559 "disable_ext_discard_framebuffer"
565 "description": "Intel D3D driver crashes when sharing surfaces between D3D9 and D3D11.",
569 "vendor_id": "0x8086",
581 "description": "Framebuffer discarding causes flickering on older IMG drivers.",
587 "value": "Imagination"
591 "value": "PowerVR SGX 540"
594 "disable_ext_discard_framebuffer"
600 ); // LONG_STRING_CONST macro