Skip to content

Commit 0543de5

Browse files
committed
Support GFX804 in OpenGL version of GPA
1 parent 224dc4c commit 0543de5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Src/GPUPerfAPIGL/GPUPerfAPIGL.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,6 @@ GPA_Status GPA_IMP_GetHWInfo(void* pContext, GPA_HWInfo* pHwInfo)
629629
}
630630

631631
// switch between values in ASICInfo.h and GPAHWInfo.cpp
632-
// ASICInfo from gl driver; HWInfo from http://ati.amd.com/developer/ATI_Device_IDs.txt
633632
switch (asicInfo.eAsicRev)
634633
{
635634
case ATIASIC_ID_TAHITI_P:
@@ -704,6 +703,10 @@ GPA_Status GPA_IMP_GetHWInfo(void* pContext, GPA_HWInfo* pHwInfo)
704703
pHwInfo->SetDeviceID(0x67FF);
705704
break;
706705

706+
case ATIASIC_ID_LEXA:
707+
pHwInfo->SetDeviceID(0x699F);
708+
break;
709+
707710
default:
708711
GPA_LogError("Unsupported asic ID.");
709712
return GPA_STATUS_ERROR_HARDWARE_NOT_SUPPORTED;

0 commit comments

Comments
 (0)