Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1018)

Side by Side Diff: gpu/config/gpu_driver_bug_list_json.cc

Issue 224233003: Move vertex and fragment shader uniform vector workarounds to gpu driver bug list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting.. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | gpu/config/gpu_driver_bug_workaround_type.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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": "4.10", 22 "version": "4.11",
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 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 { 912 {
913 "id": 68, 913 "id": 68,
914 "description": "Disable partial swaps on linux drivers", 914 "description": "Disable partial swaps on linux drivers",
915 "cr_bugs": [339493], 915 "cr_bugs": [339493],
916 "os": { 916 "os": {
917 "type": "linux" 917 "type": "linux"
918 }, 918 },
919 "features": [ 919 "features": [
920 "disable_post_sub_buffers_for_onscreen_surfaces" 920 "disable_post_sub_buffers_for_onscreen_surfaces"
921 ] 921 ]
922 },
923 {
924 "id": 69,
925 "description": "Some shaders in Skia need more than the min available vert ex and fragment shader uniform vectors in case of OSMesa",
926 "cr_bugs": [174845],
927 "driver_vendor": {
928 "op": "=",
929 "value": "osmesa"
930 },
931 "features": [
932 "max_fragment_uniform_vectors_32",
933 "max_varying_vectors_16",
934 "max_vertex_uniform_vectors_256"
935 ]
922 } 936 }
923 ] 937 ]
924 } 938 }
925 939
926 ); // LONG_STRING_CONST macro 940 ); // LONG_STRING_CONST macro
927 941
928 } // namespace gpu 942 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | gpu/config/gpu_driver_bug_workaround_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698