Skip to content

Commit

Permalink
Force ANGLE on all pre GCN 4th gen. AMD/ATI GPUs.
Browse files Browse the repository at this point in the history
  • Loading branch information
bruvzg committed Nov 23, 2023
1 parent fa4a653 commit 54747fa
Showing 1 changed file with 41 additions and 7 deletions.
48 changes: 41 additions & 7 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1784,13 +1784,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

Expand Down

0 comments on commit 54747fa

Please sign in to comment.