[ShaderPatch] GB = NVIDIA Blackwell

This commit is contained in:
nastys
2025-01-08 20:18:47 +01:00
parent 4fc2af2878
commit a4216507d6
4 changed files with 10 additions and 7 deletions
+4 -1
View File
@@ -34,7 +34,7 @@ namespace GPUModel
// note that the used GL context may differ
std::string getGpuName()
{
// detected model can be overridden -- 0: Kepler, 1: Maxwell, 2: Turing, 3: Ampere, 4: Ada Lovelace
// detected model can be overridden -- 0: Kepler, 1: Maxwell, 2: Turing, 3: Ampere, 4: Ada Lovelace, 5: Blackwell
int nGPUModel = GetPrivateProfileIntW(L"gpu", L"model", -1, CONFIG_FILE);
if (nGPUModel >= 0 && nGPUModel <= 4)
{
@@ -56,6 +56,9 @@ namespace GPUModel
case 4:
arch = "AD000";
break;
case 5:
arch = "GB000";
break;
}
printf("[GPUModel] GPU Model override: %s\n", arch.c_str());