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 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
45 "op": "beginwith", | 45 "op": "beginwith", |
46 "value": "ARM" | 46 "value": "ARM" |
47 }, | 47 }, |
48 "features": [ | 48 "features": [ |
49 "use_client_side_arrays_for_stream_buffers" | 49 "use_client_side_arrays_for_stream_buffers" |
50 ] | 50 ] |
51 }, | 51 }, |
52 { | 52 { |
53 "id": 3, | 53 "id": 3, |
54 "description": "glGenerateMipmap leaks vram without setting texture filter s on some drivers", | 54 "description": "glGenerateMipmap leaks vram without setting texture filter s on some drivers", |
55 "cr_bugs": [349137], | |
Ken Russell (switch to Gerrit)
2014/03/07 23:34:13
Is this really the right bug to reference, given t
Zhenyao Mo
2014/03/07 23:40:24
It is a little bit off, but I can't find the origi
| |
56 "exceptions": [ | |
57 { | |
58 "os": { | |
59 "type": "macosx", | |
60 "version": { | |
61 "op": ">=", | |
62 "value": "10.9" | |
63 } | |
64 } | |
65 } | |
66 ], | |
55 "features": [ | 67 "features": [ |
56 "set_texture_filter_before_generating_mipmap" | 68 "set_texture_filter_before_generating_mipmap" |
57 ] | 69 ] |
58 }, | 70 }, |
59 { | 71 { |
60 "id": 4, | 72 "id": 4, |
61 "description": "glReadPixels incorrectly sets alpha to 0 on some drivers f rom a drawing buffer without alpha channel", | 73 "description": "glReadPixels incorrectly sets alpha to 0 on some drivers f rom a drawing buffer without alpha channel", |
74 "cr_bugs": [349137], | |
75 "exceptions": [ | |
76 { | |
77 "os": { | |
78 "type": "macosx", | |
79 "version": { | |
80 "op": ">=", | |
81 "value": "10.9" | |
82 } | |
83 } | |
84 } | |
85 ], | |
62 "features": [ | 86 "features": [ |
63 "clear_alpha_in_readpixels" | 87 "clear_alpha_in_readpixels" |
64 ] | 88 ] |
65 }, | 89 }, |
66 { | 90 { |
67 "id": 5, | 91 "id": 5, |
68 "description": "Always call glUseProgram after a successful link to avoid a driver bug", | 92 "description": "Always call glUseProgram after a successful link to avoid a driver bug", |
93 "cr_bugs": [349137], | |
69 "vendor_id": "0x10de", | 94 "vendor_id": "0x10de", |
95 "exceptions": [ | |
96 { | |
97 "os": { | |
98 "type": "macosx", | |
99 "version": { | |
100 "op": ">=", | |
101 "value": "10.9" | |
102 } | |
103 } | |
104 } | |
105 ], | |
70 "features": [ | 106 "features": [ |
71 "use_current_program_after_successful_link" | 107 "use_current_program_after_successful_link" |
72 ] | 108 ] |
73 }, | 109 }, |
74 { | 110 { |
75 "id": 6, | 111 "id": 6, |
76 "description": "Restore scissor on FBO change with Qualcomm GPUs on older versions of Android", | 112 "description": "Restore scissor on FBO change with Qualcomm GPUs on older versions of Android", |
77 "cr_bugs": [165493, 222018], | 113 "cr_bugs": [165493, 222018], |
78 "os": { | 114 "os": { |
79 "type": "android", | 115 "type": "android", |
(...skipping 18 matching lines...) Expand all Loading... | |
98 "type": "macosx" | 134 "type": "macosx" |
99 }, | 135 }, |
100 "vendor_id": "0x10de", | 136 "vendor_id": "0x10de", |
101 "features": [ | 137 "features": [ |
102 "needs_offscreen_buffer_workaround" | 138 "needs_offscreen_buffer_workaround" |
103 ] | 139 ] |
104 }, | 140 }, |
105 { | 141 { |
106 "id": 8, | 142 "id": 8, |
107 "description": "A few built-in glsl functions on Mac behave incorrectly", | 143 "description": "A few built-in glsl functions on Mac behave incorrectly", |
144 "cr_bugs": [349137], | |
108 "os": { | 145 "os": { |
109 "type": "macosx" | 146 "type": "macosx", |
147 "version": { | |
148 "op": "<", | |
149 "value": "10.9" | |
150 } | |
110 }, | 151 }, |
111 "vendor_id": "0x1002", | 152 "vendor_id": "0x1002", |
112 "features": [ | 153 "features": [ |
113 "needs_glsl_built_in_function_emulation" | 154 "needs_glsl_built_in_function_emulation" |
114 ] | 155 ] |
115 }, | 156 }, |
116 { | 157 { |
117 "id": 9, | 158 "id": 9, |
118 "description": "AMD drivers get gl_PointCoord backward on OS X 10.8 or ear lier", | 159 "description": "AMD drivers get gl_PointCoord backward on OS X 10.8 or ear lier", |
119 "cr_bugs": [256349], | 160 "cr_bugs": [256349], |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
692 "gl_vendor": { | 733 "gl_vendor": { |
693 "op": "beginwith", | 734 "op": "beginwith", |
694 "value": "Qualcomm" | 735 "value": "Qualcomm" |
695 }, | 736 }, |
696 "features": [ | 737 "features": [ |
697 "disable_multisampling" | 738 "disable_multisampling" |
698 ] | 739 ] |
699 }, | 740 }, |
700 { | 741 { |
701 "id": 54, | 742 "id": 54, |
702 "cr_bugs": [124764], | 743 "cr_bugs": [124764, 349137], |
703 "description": "Clear uniforms before first program use on all platforms", | 744 "description": "Clear uniforms before first program use on all platforms", |
745 "exceptions": [ | |
746 { | |
747 "os": { | |
748 "type": "macosx", | |
749 "version": { | |
750 "op": ">=", | |
751 "value": "10.9" | |
752 } | |
753 } | |
754 } | |
755 ], | |
704 "features": [ | 756 "features": [ |
705 "clear_uniforms_before_first_program_use" | 757 "clear_uniforms_before_first_program_use" |
706 ] | 758 ] |
707 }, | 759 }, |
708 { | 760 { |
709 "id": 55, | 761 "id": 55, |
710 "cr_bugs": [333885], | 762 "cr_bugs": [333885], |
711 "description": "Mesa drivers in Linux handle varyings without static use i ncorrectly", | 763 "description": "Mesa drivers in Linux handle varyings without static use i ncorrectly", |
712 "os": { | 764 "os": { |
713 "type": "linux" | 765 "type": "linux" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
770 "type": "linux" | 822 "type": "linux" |
771 }, | 823 }, |
772 "vendor_id": "0x8086", | 824 "vendor_id": "0x8086", |
773 "device_id": ["0x0152", "0x0156", "0x015a", "0x0162", "0x0166"], | 825 "device_id": ["0x0152", "0x0156", "0x015a", "0x0162", "0x0166"], |
774 "features": [ | 826 "features": [ |
775 "disable_multisampling" | 827 "disable_multisampling" |
776 ] | 828 ] |
777 }, | 829 }, |
778 { | 830 { |
779 "id": 60, | 831 "id": 60, |
780 "description": "Multisampling is buggy on Mac with NVIDIA gpu prior to 10. 8.3", | 832 "description": "Multisampling is buggy on Mac OS X prior to 10.8.3", |
781 "cr_bugs": [137303], | 833 "cr_bugs": [137303, 162466], |
782 "os": { | 834 "os": { |
783 "type": "macosx", | 835 "type": "macosx", |
784 "version": { | 836 "version": { |
785 "op": "<", | 837 "op": "<", |
786 "value": "10.8.3" | 838 "value": "10.8.3" |
787 } | 839 } |
788 }, | 840 }, |
789 "vendor_id": "0x10de", | |
790 "features": [ | |
791 "disable_multisampling" | |
792 ] | |
793 }, | |
794 { | |
795 "id": 61, | |
796 "description": "Multisampling is buggy on Mac with Intel gpu prior to 10.8 .3", | |
797 "cr_bugs": [137303], | |
798 "os": { | |
799 "type": "macosx", | |
800 "version": { | |
801 "op": "<", | |
802 "value": "10.8.3" | |
803 } | |
804 }, | |
805 "vendor_id": "0x8086", | |
806 "features": [ | |
807 "disable_multisampling" | |
808 ] | |
809 }, | |
810 { | |
811 "id": 62, | |
812 "description": "Multisampling is buggy on Mac with AMD gpu prior to 10.8.3 ", | |
813 "cr_bugs": [162466], | |
814 "os": { | |
815 "type": "macosx", | |
816 "version": { | |
817 "op": "<", | |
818 "value": "10.8.3" | |
819 } | |
820 }, | |
821 "vendor_id": "0x1002", | |
822 "features": [ | 841 "features": [ |
823 "disable_multisampling" | 842 "disable_multisampling" |
824 ] | 843 ] |
825 }, | 844 }, |
826 { | 845 { |
827 "id": 63, | 846 "id": 63, |
828 "description": "Shaders with sampler arrays indexing for-loop indices caus e the GLSL compiler to crash on OS X", | 847 "description": "Shaders with sampler arrays indexing for-loop indices caus e the GLSL compiler to crash on OS X", |
829 "cr_bugs": [348198], | 848 » "cr_bugs": [348198, 349137], |
830 "os": { | 849 "os": { |
831 "type": "macosx" | 850 "type": "macosx", |
851 "version": { | |
852 "op": "<", | |
853 "value": "10.9" | |
854 } | |
832 }, | 855 }, |
833 "features": [ | 856 "features": [ |
834 "unroll_for_loop_with_sampler_array_index" | 857 "unroll_for_loop_with_sampler_array_index" |
835 ] | 858 ] |
836 }, | 859 }, |
837 { | 860 { |
838 "id": 64, | 861 "id": 64, |
839 "description": "Linux AMD drivers incorrectly return initial value of 1 fo r TEXTURE_MAX_ANISOTROPY", | 862 "description": "Linux AMD drivers incorrectly return initial value of 1 fo r TEXTURE_MAX_ANISOTROPY", |
840 "cr_bugs": [348237], | 863 "cr_bugs": [348237], |
841 "os": { | 864 "os": { |
842 "type": "linux" | 865 "type": "linux" |
843 }, | 866 }, |
844 "vendor_id": "0x1002", | 867 "vendor_id": "0x1002", |
845 "features": [ | 868 "features": [ |
846 "init_texture_max_anisotropy" | 869 "init_texture_max_anisotropy" |
847 ] | 870 ] |
848 } | 871 } |
849 ] | 872 ] |
850 } | 873 } |
851 | 874 |
852 ); // LONG_STRING_CONST macro | 875 ); // LONG_STRING_CONST macro |
853 | 876 |
854 } // namespace gpu | 877 } // namespace gpu |
OLD | NEW |