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": "9.14", | 22 "version": "9.15", |
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": "Imagination.*", | 30 "gl_vendor": "Imagination.*", |
31 "features": [ | 31 "features": [ |
32 "use_client_side_arrays_for_stream_buffers" | 32 "use_client_side_arrays_for_stream_buffers" |
(...skipping 2141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2174 "id": 201, | 2174 "id": 201, |
2175 "cr_bugs": [659326], | 2175 "cr_bugs": [659326], |
2176 "description": "AMD drivers in Linux require invariant qualifier to match
between vertex and fragment shaders", | 2176 "description": "AMD drivers in Linux require invariant qualifier to match
between vertex and fragment shaders", |
2177 "os": { | 2177 "os": { |
2178 "type": "linux" | 2178 "type": "linux" |
2179 }, | 2179 }, |
2180 "vendor_id": "0x1002", | 2180 "vendor_id": "0x1002", |
2181 "features": [ | 2181 "features": [ |
2182 "dont_remove_invariant_for_fragment_input" | 2182 "dont_remove_invariant_for_fragment_input" |
2183 ] | 2183 ] |
2184 }, | |
2185 { | |
2186 "id": 202, | |
2187 "cr_bugs": [659030], | |
2188 "description": "Don't create highest GL context possible on old Mesa / HW
combos (intel part)", | |
2189 "os": { | |
2190 "type": "linux" | |
2191 }, | |
2192 "driver_vendor": "Mesa", | |
2193 "driver_version": { | |
2194 "op": "<", | |
2195 "value": "11" | |
2196 }, | |
2197 "vendor_id": "0x8086", | |
2198 "device_id": ["0x0102", "0x0116", "0x0126", "0x0166"], | |
2199 "features": [ | |
2200 "create_default_gl_context" | |
2201 ] | |
2202 }, | |
2203 { | |
2204 "id": 203, | |
2205 "cr_bugs": [659030], | |
2206 "description": "Don't create highest GL context possible on old Mesa / HW
combos (AMD part)", | |
2207 "os": { | |
2208 "type": "linux" | |
2209 }, | |
2210 "driver_vendor": "Mesa", | |
2211 "driver_version": { | |
2212 "op": "<", | |
2213 "value": "11" | |
2214 }, | |
2215 "vendor_id": "0x1002", | |
2216 "device_id": ["0x9832"], | |
2217 "features": [ | |
2218 "create_default_gl_context" | |
2219 ] | |
2220 } | 2184 } |
2221 ] | 2185 ] |
2222 // Please update the version number at beginning of this file whenever you | 2186 // Please update the version number at beginning of this file whenever you |
2223 // change this file. | 2187 // change this file. |
2224 } | 2188 } |
2225 | 2189 |
2226 ); // LONG_STRING_CONST macro | 2190 ); // LONG_STRING_CONST macro |
2227 | 2191 |
2228 } // namespace gpu | 2192 } // namespace gpu |
OLD | NEW |