diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-13 17:23:41 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-13 17:23:41 +0100 |
commit | c8b52901197a74486764fa3d1cbe149277b98c8b (patch) | |
tree | 027d09f3081b66042c65c4cf50f4a0b1fc1f2da8 /main | |
parent | eb7741807557924b0ab7dea2cca39bd9584f6a84 (diff) | |
parent | 3badb90020506eb63f6c380f941ce3c5a9829aff (diff) | |
download | redot-engine-c8b52901197a74486764fa3d1cbe149277b98c8b.tar.gz |
Merge pull request #87013 from bruvzg/intel_angle_with_ids
[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.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 7d64eccbbf..dd0ebdd154 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1949,6 +1949,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); |