summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-01-09 19:26:23 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-01-09 19:28:45 +0200
commit3badb90020506eb63f6c380f941ce3c5a9829aff (patch)
tree5ccace2d45350f849f9a4232661178513cb31015 /main
parent8297ec949bad8029372da13e1d4e36599989b5ae (diff)
downloadredot-engine-3badb90020506eb63f6c380f941ce3c5a9829aff.tar.gz
[Windows] Add support for hex vendor/device IDs in the Angle blocklist. Add Intel Gen5/Gen6/Gen7 GPUs to Angle blocklist.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 4dcd92bcff..0e207b41b5 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1839,6 +1839,33 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
BLOCK_DEVICE("ATI", "Radeon (TM) R9 M3");
BLOCK_DEVICE("AMD", "Radeon (TM) R9 M3");
+ // Intel GPUs.
+ BLOCK_DEVICE("0x8086", "0x0042"); // HD Graphics, Gen5, Clarkdale
+ BLOCK_DEVICE("0x8086", "0x0046"); // HD Graphics, Gen5, Arrandale
+ BLOCK_DEVICE("0x8086", "0x010A"); // HD Graphics, Gen6, Sandy Bridge
+ BLOCK_DEVICE("Intel", "Intel HD Graphics 2000");
+ BLOCK_DEVICE("Intel", "Intel(R) HD Graphics 2000");
+ BLOCK_DEVICE("0x8086", "0x0102"); // HD Graphics 2000, Gen6, Sandy Bridge
+ BLOCK_DEVICE("0x8086", "0x0116"); // HD Graphics 3000, Gen6, Sandy Bridge
+ BLOCK_DEVICE("Intel", "Intel HD Graphics 3000");
+ BLOCK_DEVICE("Intel", "Intel(R) HD Graphics 3000");
+ BLOCK_DEVICE("0x8086", "0x0126"); // HD Graphics 3000, Gen6, Sandy Bridge
+ BLOCK_DEVICE("Intel", "Intel HD Graphics P3000");
+ BLOCK_DEVICE("Intel", "Intel(R) HD Graphics P3000");
+ BLOCK_DEVICE("0x8086", "0x0112"); // HD Graphics P3000, Gen6, Sandy Bridge
+ BLOCK_DEVICE("0x8086", "0x0122"); // HD Graphics P3000, Gen6, Sandy Bridge
+ BLOCK_DEVICE("0x8086", "0x015A"); // HD Graphics, Gen7, Ivy Bridge
+ BLOCK_DEVICE("Intel", "Intel HD Graphics 2500");
+ BLOCK_DEVICE("Intel", "Intel(R) HD Graphics 2500");
+ BLOCK_DEVICE("0x8086", "0x0152"); // HD Graphics 2500, Gen7, Ivy Bridge
+ BLOCK_DEVICE("Intel", "Intel HD Graphics 4000");
+ BLOCK_DEVICE("Intel", "Intel(R) HD Graphics 4000");
+ BLOCK_DEVICE("0x8086", "0x0162"); // HD Graphics 4000, Gen7, Ivy Bridge
+ BLOCK_DEVICE("0x8086", "0x0166"); // HD Graphics 4000, Gen7, Ivy Bridge
+ BLOCK_DEVICE("Intel", "Intel HD Graphics P4000");
+ BLOCK_DEVICE("Intel", "Intel(R) HD Graphics P4000");
+ BLOCK_DEVICE("0x8086", "0x016A"); // HD Graphics P4000, Gen7, Ivy Bridge
+
#undef BLOCK_DEVICE
GLOBAL_DEF_RST_NOVAL(PropertyInfo(Variant::ARRAY, "rendering/gl_compatibility/force_angle_on_devices", PROPERTY_HINT_ARRAY_TYPE, vformat("%s/%s:%s", Variant::DICTIONARY, PROPERTY_HINT_NONE, String())), device_blocklist);