AMD GPU Services (AGS)
Classes | Macros | Typedefs | Enumerations | Functions | Variables
amd_ags.h File Reference

Go to the source code of this file.

Classes

struct  AGSRect
 All function calls in AGS require a pointer to a context. This is generated via agsInit. More...
 
struct  AGSClipRect
 The clip rectangle struct used by agsDriverExtensionsDX11_SetClipRects. More...
 
struct  AGSDisplayInfo
 The display info struct used to describe a display enumerated by AGS. More...
 
struct  AGSDeviceInfo
 The device info struct used to describe a physical GPU enumerated by AGS. More...
 
struct  AGSConfiguration
 The configuration options that can be passed in to agsInit. More...
 
struct  AGSGPUInfo
 The top level GPU information returned from agsInit. More...
 
struct  AGSDisplaySettings
 The struct to specify the display settings to the driver. More...
 
struct  AGSDX12DeviceCreationParams
 The struct to specify the DX12 device creation parameters. More...
 
struct  AGSDX12ExtensionParams
 The struct to specify DX12 additional device creation parameters. More...
 
struct  AGSDX12ReturnedParams
 The struct to hold all the returned parameters from the device creation call. More...
 
struct  AGSDX11DeviceCreationParams
 The struct to specify the existing DX11 device creation parameters. More...
 
struct  AGSDX11ExtensionParams
 The struct to specify DX11 additional device creation parameters. More...
 
struct  AGSDX11ReturnedParams
 The struct to hold all the returned parameters from the device creation call. More...
 
struct  AGSBreadcrumbMarker
 The breadcrumb marker struct used by agsDriverExtensionsDX11_WriteBreadcrumb. More...
 

Macros

#define AMD_AGS_VERSION_MAJOR   5
 AGS major version.
 
#define AMD_AGS_VERSION_MINOR   3
 AGS minor version.
 
#define AMD_AGS_VERSION_PATCH   0
 AGS patch version.
 
#define AMD_AGS_API   __declspec(dllexport)
 AGS exported functions.
 
#define AGS_MAKE_VERSION(major, minor, patch)   ( ( major << 22 ) | ( minor << 12 ) | patch )
 Macro to create the app and engine versions for the fields in AGSDX12ExtensionParams and AGSDX11ExtensionParams and the Radeon Software Version.
 
#define AGS_UNSPECIFIED_VERSION   0xFFFFAD00
 Use this to specify no version.
 

Typedefs

typedef tagRECT D3D11_RECT
 typedef this ourselves so we don't have to drag d3d11.h in
 
typedef void *(__stdcall * AGS_ALLOC_CALLBACK) (size_t allocationSize)
 AGS user defined allocation prototype.
 
typedef void(__stdcall * AGS_FREE_CALLBACK) (void *allocationPtr)
 AGS user defined free prototype.
 

Enumerations

enum  AGSReturnCode {
  AGS_SUCCESS, AGS_FAILURE, AGS_INVALID_ARGS, AGS_OUT_OF_MEMORY,
  AGS_ERROR_MISSING_DLL, AGS_ERROR_LEGACY_DRIVER, AGS_EXTENSION_NOT_SUPPORTED, AGS_ADL_FAILURE,
  AGS_DX_FAILURE
}
 The return codes. More...
 
enum  AGSDriverExtensionDX11 {
  AGS_DX11_EXTENSION_QUADLIST = 1 << 0, AGS_DX11_EXTENSION_SCREENRECTLIST = 1 << 1, AGS_DX11_EXTENSION_UAV_OVERLAP = 1 << 2, AGS_DX11_EXTENSION_DEPTH_BOUNDS_TEST = 1 << 3,
  AGS_DX11_EXTENSION_MULTIDRAWINDIRECT = 1 << 4, AGS_DX11_EXTENSION_MULTIDRAWINDIRECT_COUNTINDIRECT = 1 << 5, AGS_DX11_EXTENSION_CROSSFIRE_API = 1 << 6, AGS_DX11_EXTENSION_INTRINSIC_READFIRSTLANE = 1 << 7,
  AGS_DX11_EXTENSION_INTRINSIC_READLANE = 1 << 8, AGS_DX11_EXTENSION_INTRINSIC_LANEID = 1 << 9, AGS_DX11_EXTENSION_INTRINSIC_SWIZZLE = 1 << 10, AGS_DX11_EXTENSION_INTRINSIC_BALLOT = 1 << 11,
  AGS_DX11_EXTENSION_INTRINSIC_MBCOUNT = 1 << 12, AGS_DX11_EXTENSION_INTRINSIC_MED3 = 1 << 13, AGS_DX11_EXTENSION_INTRINSIC_BARYCENTRICS = 1 << 14, AGS_DX11_EXTENSION_INTRINSIC_WAVE_REDUCE = 1 << 15,
  AGS_DX11_EXTENSION_INTRINSIC_WAVE_SCAN = 1 << 16, AGS_DX11_EXTENSION_CREATE_SHADER_CONTROLS = 1 << 17, AGS_DX11_EXTENSION_MULTIVIEW = 1 << 18, AGS_DX11_EXTENSION_APP_REGISTRATION = 1 << 19,
  AGS_DX11_EXTENSION_BREADCRUMB_MARKERS = 1 << 20, AGS_DX11_EXTENSION_MDI_DEFERRED_CONTEXTS = 1 << 21, AGS_DX11_EXTENSION_UAV_OVERLAP_DEFERRED_CONTEXTS = 1 << 22, AGS_DX11_EXTENSION_DEPTH_BOUNDS_DEFERRED_CONTEXTS = 1 << 23
}
 The DirectX11 extension support bits. More...
 
enum  AGSDriverExtensionDX12 {
  AGS_DX12_EXTENSION_INTRINSIC_READFIRSTLANE = 1 << 0, AGS_DX12_EXTENSION_INTRINSIC_READLANE = 1 << 1, AGS_DX12_EXTENSION_INTRINSIC_LANEID = 1 << 2, AGS_DX12_EXTENSION_INTRINSIC_SWIZZLE = 1 << 3,
  AGS_DX12_EXTENSION_INTRINSIC_BALLOT = 1 << 4, AGS_DX12_EXTENSION_INTRINSIC_MBCOUNT = 1 << 5, AGS_DX12_EXTENSION_INTRINSIC_MED3 = 1 << 6, AGS_DX12_EXTENSION_INTRINSIC_BARYCENTRICS = 1 << 7,
  AGS_DX12_EXTENSION_INTRINSIC_WAVE_REDUCE = 1 << 8, AGS_DX12_EXTENSION_INTRINSIC_WAVE_SCAN = 1 << 9, AGS_DX12_EXTENSION_USER_MARKERS = 1 << 10, AGS_DX12_EXTENSION_APP_REGISTRATION = 1 << 11
}
 The DirectX12 extension support bits. More...
 
enum  AGSPrimitiveTopology { AGS_PRIMITIVE_TOPOLOGY_QUADLIST = 7, AGS_PRIMITIVE_TOPOLOGY_SCREENRECTLIST = 9 }
 Additional topologies supported via extensions. More...
 
enum  AGSDisplayFlags {
  AGS_DISPLAYFLAG_PRIMARY_DISPLAY = 1 << 0, AGS_DISPLAYFLAG_HDR10 = 1 << 1, AGS_DISPLAYFLAG_DOLBYVISION = 1 << 2, AGS_DISPLAYFLAG_FREESYNC = 1 << 3,
  AGS_DISPLAYFLAG_FREESYNC_2 = 1 << 4, AGS_DISPLAYFLAG_EYEFINITY_IN_GROUP = 1 << 5, AGS_DISPLAYFLAG_EYEFINITY_PREFERRED_DISPLAY = 1 << 6, AGS_DISPLAYFLAG_EYEFINITY_IN_PORTRAIT_MODE = 1 << 7
}
 The display flags describing various properties of the display. More...
 
enum  AGSDisplaySettingsFlags { AGS_DISPLAYSETTINGSFLAG_DISABLE_LOCAL_DIMMING = 1 << 0 }
 The display settings flags. More...
 
enum  AGSDriverVersionResult { AGS_SOFTWAREVERSIONCHECK_OK, AGS_SOFTWAREVERSIONCHECK_OLDER, AGS_SOFTWAREVERSIONCHECK_UNDEFINED }
 The result returned from agsCheckDriverVersion. More...
 
enum  AGSCrossfireMode { AGS_CROSSFIRE_MODE_DRIVER_AFR = 0, AGS_CROSSFIRE_MODE_EXPLICIT_AFR, AGS_CROSSFIRE_MODE_DISABLE }
 The different modes to control Crossfire behavior. More...
 
enum  AGSAfrTransferType {
  AGS_AFR_TRANSFER_DEFAULT = 0, AGS_AFR_TRANSFER_DISABLE = 1, AGS_AFR_TRANSFER_1STEP_P2P = 2, AGS_AFR_TRANSFER_2STEP_NO_BROADCAST = 3,
  AGS_AFR_TRANSFER_2STEP_WITH_BROADCAST = 4
}
 The Crossfire API transfer types. More...
 
enum  AGSAfrTransferEngine { AGS_AFR_TRANSFERENGINE_DEFAULT = 0, AGS_AFR_TRANSFERENGINE_3D_ENGINE = 1, AGS_AFR_TRANSFERENGINE_COPY_ENGINE = 2 }
 The Crossfire API transfer engines. More...
 

Functions

AMD_AGS_API AGSDriverVersionResult agsCheckDriverVersion (const char *radeonSoftwareVersionReported, unsigned int radeonSoftwareVersionRequired)
 Helper function to check the installed software version against the required software version. More...
 
AMD_AGS_API AGSReturnCode agsInit (AGSContext **context, const AGSConfiguration *config, AGSGPUInfo *gpuInfo)
 Function used to initialize the AGS library. More...
 
AMD_AGS_API AGSReturnCode agsDeInit (AGSContext *context)
 Function used to clean up the AGS library. More...
 
AMD_AGS_API AGSReturnCode agsSetDisplayMode (AGSContext *context, int deviceIndex, int displayIndex, const AGSDisplaySettings *settings)
 Function used to set a specific display into HDR mode. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_CreateDevice (AGSContext *context, const AGSDX12DeviceCreationParams *creationParams, const AGSDX12ExtensionParams *extensionParams, AGSDX12ReturnedParams *returnedParams)
 Function used to create a D3D12 device with additional AMD-specific initialization parameters. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_DestroyDevice (AGSContext *context, ID3D12Device *device, unsigned int *deviceReferences)
 Function to destroy the D3D12 device. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_PushMarker (AGSContext *context, ID3D12GraphicsCommandList *commandList, const char *data)
 Function used to push an AMD user marker onto the command list. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_PopMarker (AGSContext *context, ID3D12GraphicsCommandList *commandList)
 Function used to pop an AMD user marker on the command list. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX12_SetMarker (AGSContext *context, ID3D12GraphicsCommandList *commandList, const char *data)
 Function used to insert an single event AMD user marker onto the command list. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateDevice (AGSContext *context, const AGSDX11DeviceCreationParams *creationParams, const AGSDX11ExtensionParams *extensionParams, AGSDX11ReturnedParams *returnedParams)
 Function used to create a D3D11 device with additional AMD-specific initialization parameters. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_DestroyDevice (AGSContext *context, ID3D11Device *device, unsigned int *deviceReferences, ID3D11DeviceContext *immediateContext, unsigned int *immediateContextReferences)
 Function to destroy the D3D11 device and its immediate context. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_WriteBreadcrumb (AGSContext *context, const AGSBreadcrumbMarker *marker)
 Function to write a breadcrumb marker. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_IASetPrimitiveTopology (AGSContext *context, enum D3D_PRIMITIVE_TOPOLOGY topology)
 Function used to set the primitive topology. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_BeginUAVOverlap (AGSContext *context, ID3D11DeviceContext *dxContext)
 Function used indicate to the driver that it doesn't need to sync the UAVs bound for the subsequent set of back-to-back dispatches. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_EndUAVOverlap (AGSContext *context, ID3D11DeviceContext *dxContext)
 Function used indicate to the driver it can no longer overlap the batch of back-to-back dispatches that has been submitted. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetDepthBounds (AGSContext *context, ID3D11DeviceContext *dxContext, bool enabled, float minDepth, float maxDepth)
 Function used to set the depth bounds test extension. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawInstancedIndirect (AGSContext *context, ID3D11DeviceContext *dxContext, unsigned int drawCount, ID3D11Buffer *pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs)
 Function used to submit a batch of draws via MultiDrawIndirect. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirect (AGSContext *context, ID3D11DeviceContext *dxContext, unsigned int drawCount, ID3D11Buffer *pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs)
 Function used to submit a batch of draws via MultiDrawIndirect. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawInstancedIndirectCountIndirect (AGSContext *context, ID3D11DeviceContext *dxContext, ID3D11Buffer *pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer *pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs)
 Function used to submit a batch of draws via MultiDrawIndirect. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_MultiDrawIndexedInstancedIndirectCountIndirect (AGSContext *context, ID3D11DeviceContext *dxContext, ID3D11Buffer *pBufferForDrawCount, unsigned int alignedByteOffsetForDrawCount, ID3D11Buffer *pBufferForArgs, unsigned int alignedByteOffsetForArgs, unsigned int byteStrideForArgs)
 Function used to submit a batch of draws via MultiDrawIndirect. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetMaxAsyncCompileThreadCount (AGSContext *context, unsigned int numberOfThreads)
 This method can be used to limit the maximum number of threads the driver uses for asynchronous shader compilation. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NumPendingAsyncCompileJobs (AGSContext *context, unsigned int *numberOfJobs)
 This method can be used to determine the total number of asynchronous shader compile jobs that are either queued for waiting for compilation or being compiled by the driverís asynchronous compilation threads. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetDiskShaderCacheEnabled (AGSContext *context, int enable)
 This method can be used to enable or disable the disk based shader cache. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetViewBroadcastMasks (AGSContext *context, unsigned long long vpMask, unsigned long long rtSliceMask, int vpMaskPerRtSliceEnabled)
 Function to control draw calls replication to multiple viewports and RT slices. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_GetMaxClipRects (AGSContext *context, unsigned int *maxRectCount)
 Function returns max number of supported clip rectangles. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetClipRects (AGSContext *context, unsigned int clipRectCount, const AGSClipRect *clipRects)
 Function sets clip rectangles. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateBuffer (AGSContext *context, const D3D11_BUFFER_DESC *desc, const D3D11_SUBRESOURCE_DATA *initialData, ID3D11Buffer **buffer, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine)
 Function to create a Direct3D11 resource with the specified AFR transfer type and specified transfer engine. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture1D (AGSContext *context, const D3D11_TEXTURE1D_DESC *desc, const D3D11_SUBRESOURCE_DATA *initialData, ID3D11Texture1D **texture1D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine)
 Function to create a Direct3D11 resource with the specified AFR transfer type and specified transfer engine. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture2D (AGSContext *context, const D3D11_TEXTURE2D_DESC *desc, const D3D11_SUBRESOURCE_DATA *initialData, ID3D11Texture2D **texture2D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine)
 Function to create a Direct3D11 resource with the specified AFR transfer type and specified transfer engine. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_CreateTexture3D (AGSContext *context, const D3D11_TEXTURE3D_DESC *desc, const D3D11_SUBRESOURCE_DATA *initialData, ID3D11Texture3D **texture3D, AGSAfrTransferType transferType, AGSAfrTransferEngine transferEngine)
 Function to create a Direct3D11 resource with the specified AFR transfer type and specified transfer engine. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NotifyResourceEndWrites (AGSContext *context, ID3D11Resource *resource, const D3D11_RECT *transferRegions, const unsigned int *subresourceArray, unsigned int numSubresources)
 Function to notify the driver that we have finished writing to the resource this frame. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NotifyResourceBeginAllAccess (AGSContext *context, ID3D11Resource *resource)
 This will notify the driver that the app will begin read/write access to the resource. More...
 
AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_NotifyResourceEndAllAccess (AGSContext *context, ID3D11Resource *resource)
 This is used for AGS_AFR_TRANSFER_1STEP_P2P to notify when it is safe to initiate a transfer. More...
 

Variables

const unsigned int AGS_DX12_SHADER_INSTRINSICS_SPACE_ID = 0x7FFF0ADE
 The space id for DirectX12 intrinsic support.
 

Enumeration Type Documentation

◆ AGSDisplayFlags

The display flags describing various properties of the display.

Enumerator
AGS_DISPLAYFLAG_PRIMARY_DISPLAY 

Whether this display is marked as the primary display. Not set on the WACK version.

AGS_DISPLAYFLAG_HDR10 

HDR10 is supported on this display.

AGS_DISPLAYFLAG_DOLBYVISION 

Dolby Vision is supported on this display.

AGS_DISPLAYFLAG_FREESYNC 

Freesync is supported on this display.

AGS_DISPLAYFLAG_FREESYNC_2 

Freesync 2 is supported on this display.

AGS_DISPLAYFLAG_EYEFINITY_IN_GROUP 

The display is part of the Eyefinity group.

AGS_DISPLAYFLAG_EYEFINITY_PREFERRED_DISPLAY 

The display is the preferred display in the Eyefinity group for displaying the UI.

AGS_DISPLAYFLAG_EYEFINITY_IN_PORTRAIT_MODE 

The display is in the Eyefinity group but in portrait mode.

◆ AGSDisplaySettingsFlags

The display settings flags.

Enumerator
AGS_DISPLAYSETTINGSFLAG_DISABLE_LOCAL_DIMMING 

Disables local dimming if possible.

◆ AGSDriverExtensionDX11

The DirectX11 extension support bits.

Enumerator
AGS_DX11_EXTENSION_QUADLIST 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_SCREENRECTLIST 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_UAV_OVERLAP 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_DEPTH_BOUNDS_TEST 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_MULTIDRAWINDIRECT 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_MULTIDRAWINDIRECT_COUNTINDIRECT 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_CROSSFIRE_API 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_INTRINSIC_READFIRSTLANE 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_INTRINSIC_READLANE 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_INTRINSIC_LANEID 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_INTRINSIC_SWIZZLE 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_INTRINSIC_BALLOT 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_INTRINSIC_MBCOUNT 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_INTRINSIC_MED3 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_INTRINSIC_BARYCENTRICS 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_INTRINSIC_WAVE_REDUCE 

Supported in Radeon Software Version 17.9.1 onwards.

AGS_DX11_EXTENSION_INTRINSIC_WAVE_SCAN 

Supported in Radeon Software Version 17.9.1 onwards.

AGS_DX11_EXTENSION_CREATE_SHADER_CONTROLS 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX11_EXTENSION_MULTIVIEW 

Supported in Radeon Software Version 16.12.1 onwards.

AGS_DX11_EXTENSION_APP_REGISTRATION 

Supported in Radeon Software Version 17.9.1 onwards.

AGS_DX11_EXTENSION_BREADCRUMB_MARKERS 

Supported in Radeon Software Version 17.11.1 onwards.

AGS_DX11_EXTENSION_MDI_DEFERRED_CONTEXTS 

Supported in Radeon Software Version XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX onwards.

AGS_DX11_EXTENSION_UAV_OVERLAP_DEFERRED_CONTEXTS 

Supported in Radeon Software Version XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX onwards.

AGS_DX11_EXTENSION_DEPTH_BOUNDS_DEFERRED_CONTEXTS 

Supported in Radeon Software Version XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX onwards.

◆ AGSDriverExtensionDX12

The DirectX12 extension support bits.

Enumerator
AGS_DX12_EXTENSION_INTRINSIC_READFIRSTLANE 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX12_EXTENSION_INTRINSIC_READLANE 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX12_EXTENSION_INTRINSIC_LANEID 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX12_EXTENSION_INTRINSIC_SWIZZLE 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX12_EXTENSION_INTRINSIC_BALLOT 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX12_EXTENSION_INTRINSIC_MBCOUNT 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX12_EXTENSION_INTRINSIC_MED3 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX12_EXTENSION_INTRINSIC_BARYCENTRICS 

Supported in Radeon Software Version 16.9.2 onwards.

AGS_DX12_EXTENSION_INTRINSIC_WAVE_REDUCE 

Supported in Radeon Software Version 17.9.1 onwards.

AGS_DX12_EXTENSION_INTRINSIC_WAVE_SCAN 

Supported in Radeon Software Version 17.9.1 onwards.

AGS_DX12_EXTENSION_USER_MARKERS 

Supported in Radeon Software Version 17.9.1 onwards.

AGS_DX12_EXTENSION_APP_REGISTRATION 

Supported in Radeon Software Version 17.9.1 onwards.

◆ AGSPrimitiveTopology

Additional topologies supported via extensions.

Enumerator
AGS_PRIMITIVE_TOPOLOGY_QUADLIST 

Quad list.

AGS_PRIMITIVE_TOPOLOGY_SCREENRECTLIST 

Screen rect list.

◆ AGSReturnCode

The return codes.

Enumerator
AGS_SUCCESS 

Successful function call.

AGS_FAILURE 

Failed to complete call for some unspecified reason.

AGS_INVALID_ARGS 

Invalid arguments into the function.

AGS_OUT_OF_MEMORY 

Out of memory when allocating space internally.

AGS_ERROR_MISSING_DLL 

Returned when a driver dll fails to load - most likely due to not being present in legacy driver installation.

AGS_ERROR_LEGACY_DRIVER 

Returned if a feature is not present in the installed driver.

AGS_EXTENSION_NOT_SUPPORTED 

Returned if the driver does not support the requested driver extension.

AGS_ADL_FAILURE 

Failure in ADL (the AMD Display Library)

AGS_DX_FAILURE 

Failure from DirectX runtime.