qt5base-lts/tests/auto/gui/qopenglconfig/buglist.json
Laszlo Agocs a8a8cdd24b Add support for driver_description and os.release in GPU blacklists
os.version is the kernel version which is just not very useful or easy to
use for us. Instead, introduce a string that allows easy differentiation
between Windows 7 and 8.

From the adapter identifier the driver description is often helpful too,
especially in virtual machines.

These allow writing rules like:

{ "description": "Use WARP in some Win 8 and 8.1 VMs",
  "os": { "type": "win", "release": [ "8", "8.1" ] },
  "driver_description": "VMware SVGA 3D",
  "features": [ "disable_desktopgl", "disable_d3d9", "disable_d3d11" ]
}

Change-Id: I196f6b44d7bb9e42ef47f61f4c28d8aa79afb7c4
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2015-06-26 15:27:31 +00:00

137 lines
3.4 KiB
JSON

{
"name": "gpu driver bug list example",
"version": "0.9",
"entries": [
{
"id": 1,
"description": "non-applicable feature: different OS",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"os": {
"type": "android"
},
"features": [
"wrong_feature1"
]
},
{
"id": 2,
"description": "non-applicable feature: ancient OS",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"os": {
"type": "win",
"version": {
"op": "<",
"value": "4.0"
}
},
"features": [
"wrong_feature2"
]
},
{
"id": 3,
"description": "non-applicable feature: excluded OS",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"exceptions": [
{
"os": {
"type": "win"
}
}
],
"features": [
"wrong_feature3"
]
},
{
"id": 4,
"description": "non-applicable feature: wrong vendor",
"vendor_id": "0x10df",
"device_id": [ "0x0DE9" ],
"os": {
"type": "win"
},
"features": [
"wrong_feature4"
]
},
{
"id": 4,
"description": "non-applicable feature: wrong device",
"vendor_id": "0x10de",
"device_id": [ "0x0DEA" ],
"os": {
"type": "win"
},
"features": [
"wrong_feature5"
]
},
{
"id": 5,
"description": "feature 1",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"os": {
"type": "win"
},
"driver_version": {
"op": ">",
"value": "9.18.0.0"
},
"features": [
"feature1"
]
},
{
"id": 6,
"description": "non-applicable feature: too new driver",
"vendor_id": "0x10de",
"device_id": [ "0x0DE9" ],
"os": {
"type": "win"
},
"driver_version": {
"op": "<=",
"value": "9.17.13.4344"
},
"features": [
"feature1"
]
},
{
"id": 7,
"description": "driver description test",
"driver_description": "Long And Special Driver Description",
"os": {
"type": "win"
},
"features": [
"feature2"
]
},
{
"id": 8,
"description": "Windows version test",
"os": {
"type": "win",
"release": [ "10" ]
},
"features": [
"win10_feature"
]
},
{
"id": 128,
"description": "check for matching GL_VENDOR",
"gl_vendor": "The Qt Company",
"features": [
"cool_feature"
]
}
]
}