Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues when compiling amd_ags.h in plain C #48

Open
CarterLi opened this issue Dec 21, 2023 · 1 comment
Open

Issues when compiling amd_ags.h in plain C #48

CarterLi opened this issue Dec 21, 2023 · 1 comment

Comments

@CarterLi
Copy link

amd_ags.h seems to have some support of compiling in plain C, because it contains #ifdef __cplusplus and lots oftypedef struct AGSXxx, but still not enough.

  • All structs and enums must be typedefed, or they must be used together with struct and enum, including forward declarations.
struct AGSContext; // bad
typedef struct AGSContext AGSContext; // good
  • Nested types are not supported
typedef struct AGSDeviceInfo
{
    typedef enum AsicFamily // bad
    {
    };
};

In addition, it uses types defined in Windows.h such as WCHAR and HMODULE. It should have Windows.h included.

For me who only use AGS to fetch information of AMD gpus, it would be highly appreciated that you move DX related code into a separate file.

Thanks in advance


Full errors:

In file included from detection/gpu/gpu_amd.c:8:
3rdparty/ags/amd_ags.h:164:9: error: unknown type name 'tagRECT'
  164 | typedef tagRECT D3D11_RECT;             ///< typedef this ourselves so we don't have to drag d3d11.h in
      |         ^~~~~~~
3rdparty/ags/amd_ags.h:259:5: error: expected specifier-qualifier-list before 'typedef'
  259 |     typedef enum AsicFamily
      |     ^~~~~~~
3rdparty/ags/amd_ags.h:341:5: error: expected specifier-qualifier-list before 'typedef'
  341 |     typedef enum Mode
      |     ^~~~~~~
3rdparty/ags/amd_ags.h:416:90: error: unknown type name 'AGSContext'
  416 | AMD_AGS_API AGSReturnCode agsInitialize( int agsVersion, const AGSConfiguration* config, AGSContext** context, AGSGPUInfo* gpuInfo );
      |                                                                                          ^~~~~~~~~~
3rdparty/ags/amd_ags.h:423:44: error: unknown type name 'AGSContext'
  423 | AMD_AGS_API AGSReturnCode agsDeInitialize( AGSContext* context );
      |                                            ^~~~~~~~~~
3rdparty/ags/amd_ags.h:440:46: error: unknown type name 'AGSContext'
  440 | AMD_AGS_API AGSReturnCode agsSetDisplayMode( AGSContext* context, int deviceIndex, int displayIndex, const AGSDisplaySettings* settings );
      |                                              ^~~~~~~~~~
3rdparty/ags/amd_ags.h:489:5: error: unknown type name 'IDXGIAdapter'
  489 |     IDXGIAdapter*               pAdapter;                   ///< Pointer to the adapter to use when creating the device.  This may be null.
      |     ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:490:5: error: unknown type name 'IID'
  490 |     IID                         iid;                        ///< The interface ID for the type of device to be created.
      |     ^~~
3rdparty/ags/amd_ags.h:491:5: error: unknown type name 'D3D_FEATURE_LEVEL'
  491 |     D3D_FEATURE_LEVEL           FeatureLevel;               ///< The minimum feature level to create the device with.
      |     ^~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:497:11: error: unknown type name 'WCHAR'
  497 |     const WCHAR*    pAppName;               ///< Application name
      |           ^~~~~
3rdparty/ags/amd_ags.h:498:11: error: unknown type name 'WCHAR'
  498 |     const WCHAR*    pEngineName;            ///< Engine name
      |           ^~~~~
3rdparty/ags/amd_ags.h:507:5: error: unknown type name 'ID3D12Device'
  507 |     ID3D12Device*           pDevice;                            ///< The newly created device
      |     ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:508:5: error: expected specifier-qualifier-list before 'typedef'
  508 |     typedef struct ExtensionsSupported                          /// Extensions for DX12
      |     ^~~~~~~
3rdparty/ags/amd_ags.h:557:65: error: unknown type name 'AGSContext'
  557 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_CreateDevice( AGSContext* context, const AGSDX12DeviceCreationParams* creationParams, const AGSDX12ExtensionParams* extensionParams, AGSDX12ReturnedParams* returnedParams );
      |                                                                 ^~~~~~~~~~
3rdparty/ags/amd_ags.h:567:66: error: unknown type name 'AGSContext'
  567 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_DestroyDevice( AGSContext* context, ID3D12Device* device, unsigned int* deviceReferences );
      |                                                                  ^~~~~~~~~~
3rdparty/ags/amd_ags.h:567:87: error: unknown type name 'ID3D12Device'
  567 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_DestroyDevice( AGSContext* context, ID3D12Device* device, unsigned int* deviceReferences );
      |                                                                                       ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:583:63: error: unknown type name 'AGSContext'
  583 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_PushMarker( AGSContext* context, ID3D12GraphicsCommandList* commandList, const char* data );
      |                                                               ^~~~~~~~~~
3rdparty/ags/amd_ags.h:583:84: error: unknown type name 'ID3D12GraphicsCommandList'
  583 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_PushMarker( AGSContext* context, ID3D12GraphicsCommandList* commandList, const char* data );
      |                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:592:62: error: unknown type name 'AGSContext'
  592 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_PopMarker( AGSContext* context, ID3D12GraphicsCommandList* commandList );
      |                                                              ^~~~~~~~~~
3rdparty/ags/amd_ags.h:592:83: error: unknown type name 'ID3D12GraphicsCommandList'
  592 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_PopMarker( AGSContext* context, ID3D12GraphicsCommandList* commandList );
      |                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:602:62: error: unknown type name 'AGSContext'
  602 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_SetMarker( AGSContext* context, ID3D12GraphicsCommandList* commandList, const char* data );
      |                                                              ^~~~~~~~~~
3rdparty/ags/amd_ags.h:602:83: error: unknown type name 'ID3D12GraphicsCommandList'
  602 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_SetMarker( AGSContext* context, ID3D12GraphicsCommandList* commandList, const char* data );
      |                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:628:5: error: unknown type name 'IDXGIAdapter'
  628 |     IDXGIAdapter*               pAdapter;                   ///< Consult the DX documentation on D3D11CreateDevice for this parameter
      |     ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:629:5: error: unknown type name 'D3D_DRIVER_TYPE'
  629 |     D3D_DRIVER_TYPE             DriverType;                 ///< Consult the DX documentation on D3D11CreateDevice for this parameter
      |     ^~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:630:5: error: unknown type name 'HMODULE'
  630 |     HMODULE                     Software;                   ///< Consult the DX documentation on D3D11CreateDevice for this parameter
      |     ^~~~~~~
3rdparty/ags/amd_ags.h:631:5: error: unknown type name 'UINT'
  631 |     UINT                        Flags;                      ///< Consult the DX documentation on D3D11CreateDevice for this parameter
      |     ^~~~
3rdparty/ags/amd_ags.h:632:11: error: unknown type name 'D3D_FEATURE_LEVEL'
  632 |     const D3D_FEATURE_LEVEL*    pFeatureLevels;             ///< Consult the DX documentation on D3D11CreateDevice for this parameter
      |           ^~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:633:5: error: unknown type name 'UINT'
  633 |     UINT                        FeatureLevels;              ///< Consult the DX documentation on D3D11CreateDevice for this parameter
      |     ^~~~
3rdparty/ags/amd_ags.h:634:5: error: unknown type name 'UINT'
  634 |     UINT                        SDKVersion;                 ///< Consult the DX documentation on D3D11CreateDevice for this parameter
      |     ^~~~
3rdparty/ags/amd_ags.h:635:11: error: unknown type name 'DXGI_SWAP_CHAIN_DESC'
  635 |     const DXGI_SWAP_CHAIN_DESC* pSwapChainDesc;             ///< Optional swapchain description. Specify this to invoke D3D11CreateDeviceAndSwapChain instead of D3D11CreateDevice.
      |           ^~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:641:11: error: unknown type name 'WCHAR'
  641 |     const WCHAR*                pAppName;                   ///< Application name
      |           ^~~~~
3rdparty/ags/amd_ags.h:642:11: error: unknown type name 'WCHAR'
  642 |     const WCHAR*                pEngineName;                ///< Engine name
      |           ^~~~~
3rdparty/ags/amd_ags.h:655:5: error: unknown type name 'ID3D11Device'
  655 |     ID3D11Device*           pDevice;                            ///< The newly created device
      |     ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:656:5: error: unknown type name 'ID3D11DeviceContext'
  656 |     ID3D11DeviceContext*    pImmediateContext;                  ///< The newly created immediate device context
      |     ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:657:5: error: unknown type name 'IDXGISwapChain'
  657 |     IDXGISwapChain*         pSwapChain;                         ///< The newly created swap chain. This is only created if a valid pSwapChainDesc is supplied in AGSDX11DeviceCreationParams.
      |     ^~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:658:5: error: unknown type name 'D3D_FEATURE_LEVEL'
  658 |     D3D_FEATURE_LEVEL       featureLevel;                       ///< The feature level supported by the newly created device
      |     ^~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:659:5: error: expected specifier-qualifier-list before 'typedef'
  659 |     typedef struct ExtensionsSupported                          /// Extensions for DX11
      |     ^~~~~~~
3rdparty/ags/amd_ags.h:700:65: error: unknown type name 'AGSContext'
  700 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateDevice( AGSContext* context, const AGSDX11DeviceCreationParams* creationParams, const AGSDX11ExtensionParams* extensionParams, AGSDX11ReturnedParams* returnedParams );
      |                                                                 ^~~~~~~~~~
3rdparty/ags/amd_ags.h:712:66: error: unknown type name 'AGSContext'
  712 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_DestroyDevice( AGSContext* context, ID3D11Device* device, unsigned int* deviceReferences, ID3D11DeviceContext* immediateContext, unsigned int* immediateContextReferences );
      |                                                                  ^~~~~~~~~~
3rdparty/ags/amd_ags.h:712:87: error: unknown type name 'ID3D11Device'
  712 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_DestroyDevice( AGSContext* context, ID3D11Device* device, unsigned int* deviceReferences, ID3D11DeviceContext* immediateContext, unsigned int* immediateContextReferences );
      |                                                                                       ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:712:141: error: unknown type name 'ID3D11DeviceContext'
  712 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_DestroyDevice( AGSContext* context, ID3D11Device* device, unsigned int* deviceReferences, ID3D11DeviceContext* immediateContext, unsigned int* immediateContextReferences );
      |
                            ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:898:5: error: expected specifier-qualifier-list before 'typedef'
  898 |     typedef enum Type
      |     ^~~~~~~
3rdparty/ags/amd_ags.h:920:68: error: unknown type name 'AGSContext'
  920 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_WriteBreadcrumb( AGSContext* context, const AGSBreadcrumbMarker* marker );
      |                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:952:75: error: unknown type name 'AGSContext'
  952 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_IASetPrimitiveTopology( AGSContext* context, D3D_PRIMITIVE_TOPOLOGY topology );
      |                                                                           ^~~~~~~~~~
3rdparty/ags/amd_ags.h:952:96: error: unknown type name 'D3D_PRIMITIVE_TOPOLOGY'
  952 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_IASetPrimitiveTopology( AGSContext* context, D3D_PRIMITIVE_TOPOLOGY topology );
      |                                                                                                ^~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:988:68: error: unknown type name 'AGSContext'
  988 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_BeginUAVOverlap( AGSContext* context, ID3D11DeviceContext* dxContext );
      |                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:988:89: error: unknown type name 'ID3D11DeviceContext'
  988 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_BeginUAVOverlap( AGSContext* context, ID3D11DeviceContext* dxContext );
      |                                                                                         ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:997:66: error: unknown type name 'AGSContext'
  997 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_EndUAVOverlap( AGSContext* context, ID3D11DeviceContext* dxContext );
      |                                                                  ^~~~~~~~~~
3rdparty/ags/amd_ags.h:997:87: error: unknown type name 'ID3D11DeviceContext'
  997 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_EndUAVOverlap( AGSContext* context, ID3D11DeviceContext* dxContext );
      |                                                                                       ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1014:67: error: unknown type name 'AGSContext'
 1014 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetDepthBounds( AGSContext* context, ID3D11DeviceContext* dxContext, bool enabled, float minDepth, float maxDepth );
      |                                                                   ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1014:88: error: unknown type name 'ID3D11DeviceContext'
 1014 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetDepthBounds( AGSContext* context, ID3D11DeviceContext* dxContext, bool enabled, float minDepth, float maxDepth );
      |                                                                                        ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1071:79: error: unknown type name 'AGSContext'
 1071 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawInstancedIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, unsigned int drawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |                                                                               ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1071:100: error: unknown type name 'ID3D11DeviceContext'
 1071 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawInstancedIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, unsigned int drawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |                                                                                                    ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1071:156: error: unknown type name 'ID3D11Buffer'
 1071 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawInstancedIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, unsigned int drawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |
                                           ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1083:86: error: unknown type name 'AGSContext'
 1083 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, unsigned int drawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |                                                                                      ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1083:107: error: unknown type name 'ID3D11DeviceContext'
 1083 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, unsigned int drawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |                                                                                                           ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1083:163: error: unknown type name 'ID3D11Buffer'
 1083 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, unsigned int drawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |
                                                  ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1096:92: error: unknown type name 'AGSContext'
 1096 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawInstancedIndirectCountIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, ID3D11Buffer* pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |                                                                                            ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1096:113: error: unknown type name 'ID3D11DeviceContext'
 1096 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawInstancedIndirectCountIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, ID3D11Buffer* pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |
^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1096:145: error: unknown type name 'ID3D11Buffer'
 1096 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawInstancedIndirectCountIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, ID3D11Buffer* pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |
                                ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1096:224: error: unknown type name 'ID3D11Buffer'
 1096 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawInstancedIndirectCountIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, ID3D11Buffer* pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |
                                                                                                               ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1109:99: error: unknown type name 'AGSContext'
 1109 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirectCountIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, ID3D11Buffer* pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |                                                                                                   ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1109:120: error: unknown type name 'ID3D11DeviceContext'
 1109 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirectCountIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, ID3D11Buffer* pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |
       ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1109:152: error: unknown type name 'ID3D11Buffer'
 1109 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirectCountIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, ID3D11Buffer* pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |
                                       ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1109:231: error: unknown type name 'ID3D11Buffer'
 1109 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirectCountIndirect( AGSContext* context, ID3D11DeviceContext* dxContext, ID3D11Buffer* pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer* pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs );
      |
                                                                                                                      ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1130:82: error: unknown type name 'AGSContext'
 1130 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetMaxAsyncCompileThreadCount( AGSContext* context, unsigned int numberOfThreads );
      |                                                                                  ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1140:79: error: unknown type name 'AGSContext'
 1140 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NumPendingAsyncCompileJobs( AGSContext* context, unsigned int* numberOfJobs );
      |                                                                               ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1152:78: error: unknown type name 'AGSContext'
 1152 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetDiskShaderCacheEnabled( AGSContext* context, int enable );
      |                                                                              ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1171:74: error: unknown type name 'AGSContext'
 1171 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetViewBroadcastMasks( AGSContext* context, unsigned long long vpMask, unsigned long long rtSliceMask, int vpMaskPerRtSliceEnabled );
      |                                                                          ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1179:68: error: unknown type name 'AGSContext'
 1179 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_GetMaxClipRects( AGSContext* context, unsigned int* maxRectCount );
      |                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1185:5: error: expected specifier-qualifier-list before 'typedef'
 1185 |     typedef enum Mode
      |     ^~~~~~~
3rdparty/ags/amd_ags.h:1202:65: error: unknown type name 'AGSContext'
 1202 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetClipRects( AGSContext* context, unsigned int clipRectCount, const AGSClipRect* clipRects );
      |                                                                 ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1238:65: error: unknown type name 'AGSContext'
 1238 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateBuffer( AGSContext* context, const D3D11_BUFFER_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Buffer** buffer, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |                                                                 ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1238:92: error: unknown type name 'D3D11_BUFFER_DESC'
 1238 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateBuffer( AGSContext* context, const D3D11_BUFFER_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Buffer** buffer, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |                                                                                            ^~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1238:123: error: unknown type name 'D3D11_SUBRESOURCE_DATA'
 1238 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateBuffer( AGSContext* context, const D3D11_BUFFER_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Buffer** buffer, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |
          ^~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1238:160: error: unknown type name 'ID3D11Buffer'
 1238 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateBuffer( AGSContext* context, const D3D11_BUFFER_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Buffer** buffer, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |
                                               ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1250:68: error: unknown type name 'AGSContext'
 1250 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture1D( AGSContext* context, const D3D11_TEXTURE1D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture1D** texture1D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1250:95: error: unknown type name 'D3D11_TEXTURE1D_DESC'
 1250 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture1D( AGSContext* context, const D3D11_TEXTURE1D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture1D** texture1D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |                                                                                               ^~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1250:129: error: unknown type name 'D3D11_SUBRESOURCE_DATA'
 1250 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture1D( AGSContext* context, const D3D11_TEXTURE1D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture1D** texture1D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |
                ^~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1250:166: error: unknown type name 'ID3D11Texture1D'
 1250 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture1D( AGSContext* context, const D3D11_TEXTURE1D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture1D** texture1D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |
                                                     ^~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1262:68: error: unknown type name 'AGSContext'
 1262 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture2D( AGSContext* context, const D3D11_TEXTURE2D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture2D** texture2D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1262:95: error: unknown type name 'D3D11_TEXTURE2D_DESC'
 1262 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture2D( AGSContext* context, const D3D11_TEXTURE2D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture2D** texture2D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |                                                                                               ^~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1262:129: error: unknown type name 'D3D11_SUBRESOURCE_DATA'
 1262 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture2D( AGSContext* context, const D3D11_TEXTURE2D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture2D** texture2D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |
                ^~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1262:166: error: unknown type name 'ID3D11Texture2D'
 1262 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture2D( AGSContext* context, const D3D11_TEXTURE2D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture2D** texture2D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |
                                                     ^~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1274:68: error: unknown type name 'AGSContext'
 1274 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture3D( AGSContext* context, const D3D11_TEXTURE3D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture3D** texture3D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1274:95: error: unknown type name 'D3D11_TEXTURE3D_DESC'
 1274 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture3D( AGSContext* context, const D3D11_TEXTURE3D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture3D** texture3D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |                                                                                               ^~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1274:129: error: unknown type name 'D3D11_SUBRESOURCE_DATA'
 1274 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture3D( AGSContext* context, const D3D11_TEXTURE3D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture3D** texture3D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |
                ^~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1274:166: error: unknown type name 'ID3D11Texture3D'
 1274 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture3D( AGSContext* context, const D3D11_TEXTURE3D_DESC* desc, const D3D11_SUBRESOURCE_DATA* initialData, ID3D11Texture3D** texture3D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine );
      |
                                                     ^~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1287:76: error: unknown type name 'AGSContext'
 1287 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NotifyResourceEndWrites( AGSContext* context, ID3D11Resource* resource, const D3D11_RECT* transferRegions, const unsigned int* subresourceArray, unsigned int numSubresources );
      |                                                                            ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1287:97: error: unknown type name 'ID3D11Resource'
 1287 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NotifyResourceEndWrites( AGSContext* context, ID3D11Resource* resource, const D3D11_RECT* transferRegions, const unsigned int* subresourceArray, unsigned int numSubresources );
      |                                                                                                 ^~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1295:81: error: unknown type name 'AGSContext'
 1295 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NotifyResourceBeginAllAccess( AGSContext* context, ID3D11Resource* resource );
      |                                                                                 ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1295:102: error: unknown type name 'ID3D11Resource'
 1295 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NotifyResourceBeginAllAccess( AGSContext* context, ID3D11Resource* resource );
      |                                                                                                      ^~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1305:79: error: unknown type name 'AGSContext'
 1305 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NotifyResourceEndAllAccess( AGSContext* context, ID3D11Resource* resource );
      |                                                                               ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1305:100: error: unknown type name 'ID3D11Resource'
 1305 | AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NotifyResourceEndAllAccess( AGSContext* context, ID3D11Resource* resource );
      |                                                                                                    ^~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1315:1: warning: 'dllexport' attribute ignored [-Wattributes]
 1315 | typedef AMD_AGS_API AGSDriverVersionResult  (*AGS_CHECKDRIVERVERSION)( const char*, unsigned int ); ///< \ref agsCheckDriverVersion
      | ^~~~~~~
3rdparty/ags/amd_ags.h:1316:1: warning: 'dllexport' attribute ignored [-Wattributes]
 1316 | typedef AMD_AGS_API int                     (*AGS_GETVERSIONNUMBER)(); ///< \ref agsGetVersionNumber
      | ^~~~~~~
3rdparty/ags/amd_ags.h:1317:94: error: unknown type name 'AGSContext'
 1317 | typedef AMD_AGS_API AGSReturnCode           (*AGS_INITIALIZE)( int, const AGSConfiguration*, AGSContext**, AGSGPUInfo* ); ///< \ref agsInitialize
      |                                                                                              ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1318:66: error: unknown type name 'AGSContext'
 1318 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DEINITIALIZE)( AGSContext* ); ///< \ref agsDeInitialize
      |                                                                  ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1319:68: error: unknown type name 'AGSContext'
 1319 | typedef AMD_AGS_API AGSReturnCode           (*AGS_SETDISPLAYMODE)( AGSContext*, int, int, const AGSDisplaySettings* ); ///< \ref agsSetDisplayMode
      |                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1320:87: error: unknown type name 'AGSContext'
 1320 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX12_CREATEDEVICE)( AGSContext*, const AGSDX12DeviceCreationParams*, const AGSDX12ExtensionParams*, AGSDX12ReturnedParams* ); ///< \ref agsDriverExtensionsDX12_CreateDevice
      |                                                                                       ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1321:88: error: unknown type name 'AGSContext'
 1321 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX12_DESTROYDEVICE)( AGSContext*, ID3D12Device*, unsigned int* ); ///< \ref agsDriverExtensionsDX12_DestroyDevice
      |                                                                                        ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1321:101: error: unknown type name 'ID3D12Device'
 1321 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX12_DESTROYDEVICE)( AGSContext*, ID3D12Device*, unsigned int* ); ///< \ref agsDriverExtensionsDX12_DestroyDevice
      |                                                                                                     ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1322:85: error: unknown type name 'AGSContext'
 1322 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX12_PUSHMARKER)( AGSContext*, ID3D12GraphicsCommandList*, const char* ); ///< \ref agsDriverExtensionsDX12_PushMarker
      |                                                                                     ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1322:98: error: unknown type name 'ID3D12GraphicsCommandList'
 1322 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX12_PUSHMARKER)( AGSContext*, ID3D12GraphicsCommandList*, const char* ); ///< \ref agsDriverExtensionsDX12_PushMarker
      |                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1323:84: error: unknown type name 'AGSContext'
 1323 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX12_POPMARKER)( AGSContext*, ID3D12GraphicsCommandList* ); ///< \ref agsDriverExtensionsDX12_PopMarker
      |                                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1323:97: error: unknown type name 'ID3D12GraphicsCommandList'
 1323 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX12_POPMARKER)( AGSContext*, ID3D12GraphicsCommandList* ); ///< \ref agsDriverExtensionsDX12_PopMarker
      |                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1324:84: error: unknown type name 'AGSContext'
 1324 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX12_SETMARKER)( AGSContext*, ID3D12GraphicsCommandList*, const char* ); ///< \ref agsDriverExtensionsDX12_SetMarker
      |                                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1324:97: error: unknown type name 'ID3D12GraphicsCommandList'
 1324 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX12_SETMARKER)( AGSContext*, ID3D12GraphicsCommandList*, const char* ); ///< \ref agsDriverExtensionsDX12_SetMarker
      |                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1325:87: error: unknown type name 'AGSContext'
 1325 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATEDEVICE)( AGSContext*, const AGSDX11DeviceCreationParams*, const AGSDX11ExtensionParams*, AGSDX11ReturnedParams* ); ///< \ref agsDriverExtensionsDX11_CreateDevice
      |                                                                                       ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1326:88: error: unknown type name 'AGSContext'
 1326 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_DESTROYDEVICE)( AGSContext*, ID3D11Device*, unsigned int*, ID3D11DeviceContext*, unsigned int* ); ///< \ref agsDriverExtensionsDX11_DestroyDevice
      |                                                                                        ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1326:101: error: unknown type name 'ID3D11Device'
 1326 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_DESTROYDEVICE)( AGSContext*, ID3D11Device*, unsigned int*, ID3D11DeviceContext*, unsigned int* ); ///< \ref agsDriverExtensionsDX11_DestroyDevice
      |                                                                                                     ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1326:131: error: unknown type name 'ID3D11DeviceContext'
 1326 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_DESTROYDEVICE)( AGSContext*, ID3D11Device*, unsigned int*, ID3D11DeviceContext*, unsigned int* ); ///< \ref agsDriverExtensionsDX11_DestroyDevice
      |
                  ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1327:90: error: unknown type name 'AGSContext'
 1327 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_WRITEBREADCRUMB)( AGSContext*, const AGSBreadcrumbMarker* ); ///< \ref agsDriverExtensionsDX11_WriteBreadcrumb
      |                                                                                          ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1328:97: error: unknown type name 'AGSContext'
 1328 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_IASETPRIMITIVETOPOLOGY)( AGSContext*, enum D3D_PRIMITIVE_TOPOLOGY ); ///< \ref agsDriverExtensionsDX11_IASetPrimitiveTopology
      |                                                                                                 ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1329:90: error: unknown type name 'AGSContext'
 1329 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_BEGINUAVOVERLAP)( AGSContext*, ID3D11DeviceContext* ); ///< \ref agsDriverExtensionsDX11_BeginUAVOverlap
      |                                                                                          ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1329:103: error: unknown type name 'ID3D11DeviceContext'
 1329 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_BEGINUAVOVERLAP)( AGSContext*, ID3D11DeviceContext* ); ///< \ref agsDriverExtensionsDX11_BeginUAVOverlap
      |                                                                                                       ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1330:88: error: unknown type name 'AGSContext'
 1330 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_ENDUAVOVERLAP)( AGSContext*, ID3D11DeviceContext* ); ///< \ref agsDriverExtensionsDX11_EndUAVOverlap
      |                                                                                        ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1330:101: error: unknown type name 'ID3D11DeviceContext'
 1330 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_ENDUAVOVERLAP)( AGSContext*, ID3D11DeviceContext* ); ///< \ref agsDriverExtensionsDX11_EndUAVOverlap
      |                                                                                                     ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1331:89: error: unknown type name 'AGSContext'
 1331 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_SETDEPTHBOUNDS)( AGSContext*, ID3D11DeviceContext*, bool, float, float ); ///< \ref agsDriverExtensionsDX11_SetDepthBounds
      |                                                                                         ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1331:102: error: unknown type name 'ID3D11DeviceContext'
 1331 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_SETDEPTHBOUNDS)( AGSContext*, ID3D11DeviceContext*, bool, float, float ); ///< \ref agsDriverExtensionsDX11_SetDepthBounds
      |                                                                                                      ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1332:101: error: unknown type name 'AGSContext'
 1332 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINSTANCEDINDIRECT)( AGSContext*, ID3D11DeviceContext*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawInstancedIndirect
      |                                                                                                     ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1332:114: error: unknown type name 'ID3D11DeviceContext'
 1332 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINSTANCEDINDIRECT)( AGSContext*, ID3D11DeviceContext*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawInstancedIndirect
      |
 ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1332:150: error: unknown type name 'ID3D11Buffer'
 1332 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINSTANCEDINDIRECT)( AGSContext*, ID3D11DeviceContext*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawInstancedIndirect
      |
                                     ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1333:108: error: unknown type name 'AGSContext'
 1333 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINDEXEDINSTANCEDINDIRECT)( AGSContext*, ID3D11DeviceContext*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirect
      |                                                                                                            ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1333:121: error: unknown type name 'ID3D11DeviceContext'
 1333 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINDEXEDINSTANCEDINDIRECT)( AGSContext*, ID3D11DeviceContext*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirect
      |
        ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1333:157: error: unknown type name 'ID3D11Buffer'
 1333 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINDEXEDINSTANCEDINDIRECT)( AGSContext*, ID3D11DeviceContext*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirect
      |
                                            ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1334:114: error: unknown type name 'AGSContext'
 1334 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINSTANCEDINDIRECTCOUNTINDIRECT)( AGSContext*, ID3D11DeviceContext*, ID3D11Buffer*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawInstancedIndirectCountIndirect
      |
 ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1334:127: error: unknown type name 'ID3D11DeviceContext'
 1334 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINSTANCEDINDIRECTCOUNTINDIRECT)( AGSContext*, ID3D11DeviceContext*, ID3D11Buffer*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawInstancedIndirectCountIndirect
      |
              ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1334:149: error: unknown type name 'ID3D11Buffer'
 1334 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINSTANCEDINDIRECTCOUNTINDIRECT)( AGSContext*, ID3D11DeviceContext*, ID3D11Buffer*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawInstancedIndirectCountIndirect
      |
                                    ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1334:178: error: unknown type name 'ID3D11Buffer'
 1334 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINSTANCEDINDIRECTCOUNTINDIRECT)( AGSContext*, ID3D11DeviceContext*, ID3D11Buffer*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawInstancedIndirectCountIndirect
      |
                                                                 ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1335:121: error: unknown type name 'AGSContext'
 1335 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINDEXEDINSTANCEDINDIRECTCOUNTINDIRECT)( AGSContext*, ID3D11DeviceContext*, ID3D11Buffer*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirectCountIndirect
      |
        ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1335:134: error: unknown type name 'ID3D11DeviceContext'
 1335 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINDEXEDINSTANCEDINDIRECTCOUNTINDIRECT)( AGSContext*, ID3D11DeviceContext*, ID3D11Buffer*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirectCountIndirect
      |
                     ^~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1335:156: error: unknown type name 'ID3D11Buffer'
 1335 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINDEXEDINSTANCEDINDIRECTCOUNTINDIRECT)( AGSContext*, ID3D11DeviceContext*, ID3D11Buffer*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirectCountIndirect
      |
                                           ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1335:185: error: unknown type name 'ID3D11Buffer'
 1335 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_MULTIDRAWINDEXEDINSTANCEDINDIRECTCOUNTINDIRECT)( AGSContext*, ID3D11DeviceContext*, ID3D11Buffer*, unsigned int, ID3D11Buffer*, unsigned int, unsigned int ); ///< \ref agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirectCountIndirect
      |
                                                                        ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1336:104: error: unknown type name 'AGSContext'
 1336 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_SETMAXASYNCCOMPILETHREADCOUNT)( AGSContext*, unsigned int ); ///< \ref agsDriverExtensionsDX11_SetMaxAsyncCompileThreadCount
      |                                                                                                        ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1337:100: error: unknown type name 'AGSContext'
 1337 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_NUMPENDINGASYNCOMPILEJOBS)( AGSContext*, unsigned int* ); ///< \ref agsDriverExtensionsDX11_NumPendingAsyncCompileJobs
      |                                                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1338:100: error: unknown type name 'AGSContext'
 1338 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_SETDISKSHADERCACHEENABLED)( AGSContext*, int ); ///< \ref agsDriverExtensionsDX11_SetDiskShaderCacheEnabled
      |                                                                                                    ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1339:96: error: unknown type name 'AGSContext'
 1339 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_SETVIEWBROADCASTMASKS)( AGSContext*, unsigned long long, unsigned long long, int ); ///< \ref agsDriverExtensionsDX11_SetViewBroadcastMasks
      |                                                                                                ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1340:90: error: unknown type name 'AGSContext'
 1340 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_GETMAXCLIPRECTS)( AGSContext*, unsigned int* ); ///< \ref agsDriverExtensionsDX11_GetMaxClipRects
      |                                                                                          ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1341:87: error: unknown type name 'AGSContext'
 1341 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_SETCLIPRECTS)( AGSContext*, unsigned int, const AGSClipRect* ); ///< \ref agsDriverExtensionsDX11_SetClipRects
      |                                                                                       ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1342:87: error: unknown type name 'AGSContext'
 1342 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATEBUFFER)( AGSContext*, const D3D11_BUFFER_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Buffer**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateBuffer
      |                                                                                       ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1342:106: error: unknown type name 'D3D11_BUFFER_DESC'
 1342 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATEBUFFER)( AGSContext*, const D3D11_BUFFER_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Buffer**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateBuffer
      |                                                                                                          ^~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1342:132: error: unknown type name 'D3D11_SUBRESOURCE_DATA'
 1342 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATEBUFFER)( AGSContext*, const D3D11_BUFFER_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Buffer**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateBuffer
      |
                   ^~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1342:157: error: unknown type name 'ID3D11Buffer'
 1342 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATEBUFFER)( AGSContext*, const D3D11_BUFFER_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Buffer**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateBuffer
      |
                                            ^~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1343:90: error: unknown type name 'AGSContext'
 1343 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE1D)( AGSContext*, const D3D11_TEXTURE1D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture1D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture1D
      |                                                                                          ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1343:109: error: unknown type name 'D3D11_TEXTURE1D_DESC'
 1343 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE1D)( AGSContext*, const D3D11_TEXTURE1D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture1D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture1D
      |                                                                                                             ^~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1343:138: error: unknown type name 'D3D11_SUBRESOURCE_DATA'
 1343 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE1D)( AGSContext*, const D3D11_TEXTURE1D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture1D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture1D
      |
                         ^~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1343:163: error: unknown type name 'ID3D11Texture1D'
 1343 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE1D)( AGSContext*, const D3D11_TEXTURE1D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture1D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture1D
      |
                                                  ^~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1344:90: error: unknown type name 'AGSContext'
 1344 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE2D)( AGSContext*, const D3D11_TEXTURE2D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture2D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture2D
      |                                                                                          ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1344:109: error: unknown type name 'D3D11_TEXTURE2D_DESC'
 1344 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE2D)( AGSContext*, const D3D11_TEXTURE2D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture2D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture2D
      |                                                                                                             ^~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1344:138: error: unknown type name 'D3D11_SUBRESOURCE_DATA'
 1344 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE2D)( AGSContext*, const D3D11_TEXTURE2D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture2D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture2D
      |
                         ^~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1344:163: error: unknown type name 'ID3D11Texture2D'
 1344 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE2D)( AGSContext*, const D3D11_TEXTURE2D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture2D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture2D
      |
                                                  ^~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1345:90: error: unknown type name 'AGSContext'
 1345 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE3D)( AGSContext*, const D3D11_TEXTURE3D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture3D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture3D
      |                                                                                          ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1345:109: error: unknown type name 'D3D11_TEXTURE3D_DESC'
 1345 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE3D)( AGSContext*, const D3D11_TEXTURE3D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture3D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture3D
      |                                                                                                             ^~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1345:138: error: unknown type name 'D3D11_SUBRESOURCE_DATA'
 1345 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE3D)( AGSContext*, const D3D11_TEXTURE3D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture3D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture3D
      |
                         ^~~~~~~~~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1345:163: error: unknown type name 'ID3D11Texture3D'
 1345 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_CREATETEXTURE3D)( AGSContext*, const D3D11_TEXTURE3D_DESC*, const D3D11_SUBRESOURCE_DATA*, ID3D11Texture3D**, AGSAfrTransferType, AGSAfrTransferEngine ); ///< \ref agsDriverExtensionsDX11_CreateTexture3D
      |
                                                  ^~~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1346:98: error: unknown type name 'AGSContext'
 1346 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_NOTIFYRESOURCEENDWRITES)( AGSContext*, ID3D11Resource*, const D3D11_RECT*, const unsigned int*, unsigned int ); ///< \ref agsDriverExtensionsDX11_NotifyResourceEndWrites
      |                                                                                                  ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1346:111: error: unknown type name 'ID3D11Resource'
 1346 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_NOTIFYRESOURCEENDWRITES)( AGSContext*, ID3D11Resource*, const D3D11_RECT*, const unsigned int*, unsigned int ); ///< \ref agsDriverExtensionsDX11_NotifyResourceEndWrites
      |                                                                                                               ^~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1347:103: error: unknown type name 'AGSContext'
 1347 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_NOTIFYRESOURCEBEGINALLACCESS)( AGSContext*, ID3D11Resource* ); ///< \ref agsDriverExtensionsDX11_NotifyResourceBeginAllAccess
      |                                                                                                       ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1347:116: error: unknown type name 'ID3D11Resource'
 1347 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_NOTIFYRESOURCEBEGINALLACCESS)( AGSContext*, ID3D11Resource* ); ///< \ref agsDriverExtensionsDX11_NotifyResourceBeginAllAccess
      |
   ^~~~~~~~~~~~~~
3rdparty/ags/amd_ags.h:1348:101: error: unknown type name 'AGSContext'
 1348 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_NOTIFYRESOURCEENDALLACCESS)( AGSContext*, ID3D11Resource* ); ///< \ref agsDriverExtensionsDX11_NotifyResourceEndAllAccess
      |                                                                                                     ^~~~~~~~~~
3rdparty/ags/amd_ags.h:1348:114: error: unknown type name 'ID3D11Resource'
 1348 | typedef AMD_AGS_API AGSReturnCode           (*AGS_DRIVEREXTENSIONSDX11_NOTIFYRESOURCEENDALLACCESS)( AGSContext*, ID3D11Resource* ); ///< \ref agsDriverExtensionsDX11_NotifyResourceEndAllAccess
      |
 ^~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
@Nielsbishere
Copy link

I have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants