Allows a title to manually trigger the GPU hang logic and GPU hang analysis if the title detects a GPU timeout.
public:
void ReportGpuHang(
UINT Flags
)
Flags
Type: UINT
[in] Flags to control GPU hang reaction, as a bitwise-OR’d combination of D3D11X_REPORT_GPU_HANG_FLAGS enumeration constants.
Pass 0 to perform GPU hang analysis and warm-reboot the console.
Pass D3D11X_REPORT_GPU_HANG_DO_NOT_REBOOT to perform GPU hang analysis, without triggering a reboot.
Contexts with fast semantics, such as compute and DMA contexts, do not normally give the driver an opportunity to detect GPU timeouts automatically, because timeouts are typically detected as part of synchronization primitives.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.