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.15", | 22 "version": "9.16", |
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": [639760,641129], |
| 2188 "description": "Mac driver GL 4.1 requires invariant and centroid to match
between shaders", |
| 2189 "os": { |
| 2190 "type": "macosx" |
| 2191 }, |
| 2192 "features": [ |
| 2193 "remove_invariant_and_centroid_for_essl3" |
| 2194 ] |
| 2195 }, |
| 2196 { |
| 2197 "id": 203, |
| 2198 "cr_bugs": [639760,641129], |
| 2199 "description": "Mesa driver GL 3.3 requires invariant and centroid to matc
h between shaders", |
| 2200 "os": { |
| 2201 "type": "linux" |
| 2202 }, |
| 2203 "driver_vendor": "Mesa", |
| 2204 "gl_version": { |
| 2205 "op": "=", |
| 2206 "value": "3.3" |
| 2207 }, |
| 2208 "features": [ |
| 2209 "remove_invariant_and_centroid_for_essl3" |
| 2210 ] |
2184 } | 2211 } |
2185 ] | 2212 ] |
2186 // Please update the version number at beginning of this file whenever you | 2213 // Please update the version number at beginning of this file whenever you |
2187 // change this file. | 2214 // change this file. |
2188 } | 2215 } |
2189 | 2216 |
2190 ); // LONG_STRING_CONST macro | 2217 ); // LONG_STRING_CONST macro |
2191 | 2218 |
2192 } // namespace gpu | 2219 } // namespace gpu |
OLD | NEW |