XeSS-SR SDK API Reference Guide 2.0.2
Loading...
Searching...
No Matches
xess_d3d12_debug.h File Reference
#include <d3d12.h>
#include "xess.h"
#include "xess_debug.h"

Go to the source code of this file.

Data Structures

struct  _xess_resources_to_dump_t

Macros

#define XESS_D3D12_DEBUG_ENABLE_PROFILING   XESS_DEBUG_ENABLE_PROFILING

Typedefs

typedef struct _xess_resources_to_dump_t xess_resources_to_dump_t

Functions

XESS_API xess_result_t xessD3D12GetResourcesToDump (xess_context_handle_t hContext, xess_resources_to_dump_t **pResourcesToDump)
 Query XeSS model to retrieve internal resources marked for dumping for further debug and inspection.
XESS_API xess_result_t xessD3D12GetProfilingData (xess_context_handle_t hContext, xess_profiling_data_t **pProfilingData)
 Query XeSS model performance data for past executions. This function is provided for backwards compatibility with previous XeSS versions and and it's currently deprecated. Same functionality is provided by xessGetProfilingData function from xess_debug.h. To enable performance collection, context must be initialized with XESS_DEBUG_ENABLE_PROFILING flag added to xess_d3d12_init_params_t::initFlags. If profiling is enabled, user must poll for profiling data after executing one or more command lists, otherwise implementation will keep growing internal CPU buffers to accommodate all profiling data available. Due to async nature of execution on GPU, data may not be available after submitting command lists to device queue. It is advised to check any_profiling_data_in_flight flag in case all workloads has been submitted, but profiling data for some frames is still not available. Data pointed to by pProfilingData item(s) belongs to context instance and is valid until next call to xessD3D12GetProfilingData or xessGetProfilingData for owning context.

Macro Definition Documentation

◆ XESS_D3D12_DEBUG_ENABLE_PROFILING

#define XESS_D3D12_DEBUG_ENABLE_PROFILING   XESS_DEBUG_ENABLE_PROFILING

Define XESS_D3D12_DEBUG_ENABLE_PROFILING for backwards compatibility with previous XeSS versions

Definition at line 30 of file xess_d3d12_debug.h.

Typedef Documentation

◆ xess_resources_to_dump_t