From 35e5b150b37feae14b177f60055020b0d901970f Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Thu, 23 Nov 2023 19:15:25 +0200 Subject: [PATCH] Force ANGLE on all pre GCN 4th gen. AMD/ATI GPUs. (cherry picked from commit 54747fab72cfb505a12ff7fbad0dc2e7e1fbb8cf) --- main/main.cpp | 48 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/main/main.cpp b/main/main.cpp index 421fe1cb31f..3a803ffab9c 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1783,13 +1783,47 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph } // AMD GPUs. - BLOCK_DEVICE("ATI", "AMD Radeon(TM) R2 Graphics"); - BLOCK_DEVICE("ATI", "AMD Radeon(TM) R3 Graphics"); - BLOCK_DEVICE("ATI", "AMD Radeon HD 8400 / R3 Series"); - BLOCK_DEVICE("ATI", "AMD Radeon R5 M200 Series"); - BLOCK_DEVICE("ATI", "AMD Radeon R5 M230 Series"); - BLOCK_DEVICE("ATI", "AMD Radeon R5 M255"); - BLOCK_DEVICE("AMD", "AMD Radeon (TM) R5 M330"); + BLOCK_DEVICE("ATI", "Radeon 9"); // ATI Radeon 9000 Series + BLOCK_DEVICE("ATI", "Radeon X"); // ATI Radeon X500-X2000 Series + BLOCK_DEVICE("ATI", "Radeon HD 2"); // AMD/ATI (Mobility) Radeon HD 2xxx Series + BLOCK_DEVICE("ATI", "Radeon HD 3"); // AMD/ATI (Mobility) Radeon HD 3xxx Series + BLOCK_DEVICE("ATI", "Radeon HD 4"); // AMD/ATI (Mobility) Radeon HD 4xxx Series + BLOCK_DEVICE("ATI", "Radeon HD 5"); // AMD/ATI (Mobility) Radeon HD 5xxx Series + BLOCK_DEVICE("ATI", "Radeon HD 6"); // AMD/ATI (Mobility) Radeon HD 6xxx Series + BLOCK_DEVICE("ATI", "Radeon HD 7"); // AMD/ATI (Mobility) Radeon HD 7xxx Series + BLOCK_DEVICE("ATI", "Radeon HD 8"); // AMD/ATI (Mobility) Radeon HD 8xxx Series + BLOCK_DEVICE("ATI", "Radeon(TM) R2 Graphics"); // APUs + BLOCK_DEVICE("ATI", "Radeon(TM) R3 Graphics"); + BLOCK_DEVICE("ATI", "Radeon(TM) R4 Graphics"); + BLOCK_DEVICE("ATI", "Radeon(TM) R5 Graphics"); + BLOCK_DEVICE("ATI", "Radeon(TM) R6 Graphics"); + BLOCK_DEVICE("ATI", "Radeon(TM) R7 Graphics"); + BLOCK_DEVICE("AMD", "Radeon(TM) R7 Graphics"); + BLOCK_DEVICE("AMD", "Radeon(TM) R8 Graphics"); + BLOCK_DEVICE("ATI", "Radeon R5 Graphics"); + BLOCK_DEVICE("ATI", "Radeon R6 Graphics"); + BLOCK_DEVICE("ATI", "Radeon R7 Graphics"); + BLOCK_DEVICE("AMD", "Radeon R7 Graphics"); + BLOCK_DEVICE("AMD", "Radeon R8 Graphics"); + BLOCK_DEVICE("ATI", "Radeon R5 2"); // Rx 2xx Series + BLOCK_DEVICE("ATI", "Radeon R7 2"); + BLOCK_DEVICE("ATI", "Radeon R9 2"); + BLOCK_DEVICE("ATI", "Radeon R5 M2"); // Rx M2xx Series + BLOCK_DEVICE("ATI", "Radeon R7 M2"); + BLOCK_DEVICE("ATI", "Radeon R9 M2"); + BLOCK_DEVICE("ATI", "Radeon (TM) R9 Fury"); + BLOCK_DEVICE("ATI", "Radeon (TM) R5 3"); // Rx 3xx Series + BLOCK_DEVICE("AMD", "Radeon (TM) R5 3"); + BLOCK_DEVICE("ATI", "Radeon (TM) R7 3"); + BLOCK_DEVICE("AMD", "Radeon (TM) R7 3"); + BLOCK_DEVICE("ATI", "Radeon (TM) R9 3"); + BLOCK_DEVICE("AMD", "Radeon (TM) R9 3"); + BLOCK_DEVICE("ATI", "Radeon (TM) R5 M3"); // Rx M3xx Series + BLOCK_DEVICE("AMD", "Radeon (TM) R5 M3"); + BLOCK_DEVICE("ATI", "Radeon (TM) R7 M3"); + BLOCK_DEVICE("AMD", "Radeon (TM) R7 M3"); + BLOCK_DEVICE("ATI", "Radeon (TM) R9 M3"); + BLOCK_DEVICE("AMD", "Radeon (TM) R9 M3"); #undef BLOCK_DEVICE