AMD GPU Services (AGS)
Classes | Typedefs | Functions

API for multiview broadcasting. Check support for this feature using the AGS_DX11_EXTENSION_MULTIVIEW bit. Supported in Radeon Software Version 16.12.1 (driver version 16.50.2001) onwards. More...

Classes

struct  AGSClipRect
 The clip rectangle struct used by agsDriverExtensionsDX11_SetClipRects. More...
 

Typedefs

typedef struct AGSClipRect AGSClipRect
 The clip rectangle struct used by agsDriverExtensionsDX11_SetClipRects.
 

Functions

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...
 

Detailed Description

API for multiview broadcasting. Check support for this feature using the AGS_DX11_EXTENSION_MULTIVIEW bit. Supported in Radeon Software Version 16.12.1 (driver version 16.50.2001) onwards.

Function Documentation

◆ agsDriverExtensionsDX11_GetMaxClipRects()

AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_GetMaxClipRects ( AGSContext *  context,
unsigned int *  maxRectCount 
)

Function returns max number of supported clip rectangles.

Parameters
[in]contextPointer to a context.
[out]maxRectCountReturned max number of clip rectangles.

◆ agsDriverExtensionsDX11_SetClipRects()

AMD_AGS_API AGSReturnCode agsDriverExtensionsDX11_SetClipRects ( AGSContext *  context,
unsigned int  clipRectCount,
const AGSClipRect clipRects 
)

Function sets clip rectangles.

Parameters
[in]contextPointer to a context.
[in]clipRectCountNumber of specified clip rectangles. Use 0 to disable clip rectangles.
[in]clipRectsArray of clip rectangles.

◆ agsDriverExtensionsDX11_SetViewBroadcastMasks()

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.

Setting any mask to 0 disables draw replication.

Parameters
[in]contextPointer to a context.
[in]vpMaskViewport control bit mask.
[in]rtSliceMaskRT slice control bit mask.
[in]vpMaskPerRtSliceEnabledIf 0, 16 lower bits of vpMask apply to all RT slices; if 1 each 16 bits of 64-bit mask apply to corresponding 4 RT slices.