OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Determines whether a certain driver bug exists in the current system. | 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 | 6 // The format of a valid gpu_driver_bug_list.json file is defined in |
7 // <gpu/config/gpu_control_list_format.txt>. | 7 // <gpu/config/gpu_control_list_format.txt>. |
8 // The supported "features" can be found in | 8 // The supported "features" can be found in |
9 // <gpu/config/gpu_driver_bug_workaround_type.h>. | 9 // <gpu/config/gpu_driver_bug_workaround_type.h>. |
10 | 10 |
11 #include "gpu/config/gpu_control_list_jsons.h" | 11 #include "gpu/config/gpu_control_list_jsons.h" |
12 | 12 |
13 #define LONG_STRING_CONST(...) #__VA_ARGS__ | 13 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
14 | 14 |
15 namespace gpu { | 15 namespace gpu { |
16 | 16 |
17 const char kGpuDriverBugListJson[] = LONG_STRING_CONST( | 17 const char kGpuDriverBugListJson[] = LONG_STRING_CONST( |
18 | 18 |
19 { | 19 { |
20 "name": "gpu driver bug list", | 20 "name": "gpu driver bug list", |
21 // Please update the version number whenever you change this file. | 21 // Please update the version number whenever you change this file. |
22 "version": "3.10", | 22 "version": "3.7", |
23 "entries": [ | 23 "entries": [ |
24 { | 24 { |
25 "id": 1, | 25 "id": 1, |
26 "description": "Imagination driver doesn't like uploading lots of buffer d
ata constantly", | 26 "description": "Imagination driver doesn't like uploading lots of buffer d
ata constantly", |
27 "os": { | 27 "os": { |
28 "type": "android" | 28 "type": "android" |
29 }, | 29 }, |
30 "gl_vendor": { | 30 "gl_vendor": { |
31 "op": "beginwith", | 31 "op": "beginwith", |
32 "value": "Imagination" | 32 "value": "Imagination" |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 "disable_framebuffer_multisample" | 708 "disable_framebuffer_multisample" |
709 ] | 709 ] |
710 }, | 710 }, |
711 { | 711 { |
712 "id": 54, | 712 "id": 54, |
713 "cr_bugs": [124764], | 713 "cr_bugs": [124764], |
714 "description": "Clear uniforms before first program use on all platforms", | 714 "description": "Clear uniforms before first program use on all platforms", |
715 "features": [ | 715 "features": [ |
716 "clear_uniforms_before_first_program_use" | 716 "clear_uniforms_before_first_program_use" |
717 ] | 717 ] |
718 }, | |
719 { | |
720 "id": 55, | |
721 "cr_bugs": [333885], | |
722 "description": "Mesa drivers in Linux handle varyings without static use i
ncorrectly", | |
723 "os": { | |
724 "type": "linux" | |
725 }, | |
726 "driver_vendor": { | |
727 "op": "=", | |
728 "value": "Mesa" | |
729 }, | |
730 "features": [ | |
731 "count_all_in_varyings_packing" | |
732 ] | |
733 }, | |
734 { | |
735 "id": 56, | |
736 "cr_bugs": [333885], | |
737 "description": "Mesa drivers in ChromeOS handle varyings without static us
e incorrectly", | |
738 "os": { | |
739 "type": "chromeos" | |
740 }, | |
741 "driver_vendor": { | |
742 "op": "=", | |
743 "value": "Mesa" | |
744 }, | |
745 "features": [ | |
746 "count_all_in_varyings_packing" | |
747 ] | |
748 } | 718 } |
749 ] | 719 ] |
750 } | 720 } |
751 | 721 |
752 ); // LONG_STRING_CONST macro | 722 ); // LONG_STRING_CONST macro |
753 | 723 |
754 } // namespace gpu | 724 } // namespace gpu |
OLD | NEW |