SpiecsEngine
 
Loading...
Searching...
No Matches
NsightAftermathHelpers.h File Reference

The NsightAftermathHelpers Definitions. More...

#include <iomanip>
#include <string>
#include <sstream>
#include <vulkan/vulkan.hpp>
#include "GFSDK_Aftermath.h"
#include "GFSDK_Aftermath_GpuCrashDump.h"
#include "GFSDK_Aftermath_GpuCrashDumpDecoding.h"

Go to the source code of this file.

Namespaces

namespace  std
 STL namespace.
 

Macros

#define AFTERMATH_CHECK_ERROR(FC)
 Helper macro for checking Nsight Aftermath results and throwing exception in case of a failure.
 

Functions

template<typename T >
std::string std::to_hex_string (T n)
 Convert T to hex string.
 
std::string std::to_string (GFSDK_Aftermath_Result result)
 Convert GFSDK_Aftermath_Result to string.
 
std::string std::to_string (const GFSDK_Aftermath_ShaderDebugInfoIdentifier &identifier)
 Convert GFSDK_Aftermath_ShaderDebugInfoIdentifier to string.
 
std::string std::to_string (const GFSDK_Aftermath_ShaderBinaryHash &hash)
 Convert GFSDK_Aftermath_ShaderBinaryHash to string.
 
bool operator< (const GFSDK_Aftermath_ShaderDebugInfoIdentifier &lhs, const GFSDK_Aftermath_ShaderDebugInfoIdentifier &rhs)
 Helper for comparing GFSDK_Aftermath_ShaderDebugInfoIdentifier.
 
bool operator< (const GFSDK_Aftermath_ShaderBinaryHash &lhs, const GFSDK_Aftermath_ShaderBinaryHash &rhs)
 Helper for comparing GFSDK_Aftermath_ShaderBinaryHash.
 
bool operator< (const GFSDK_Aftermath_ShaderDebugName &lhs, const GFSDK_Aftermath_ShaderDebugName &rhs)
 Helper for comparing GFSDK_Aftermath_ShaderDebugName.
 
std::string AftermathErrorMessage (GFSDK_Aftermath_Result result)
 Helper for checking Nsight Aftermath failures.
 

Detailed Description

The NsightAftermathHelpers Definitions.

Author
NVIDIA
See also
https://github.com/NVIDIA/nsight-aftermath-samples

Definition in file NsightAftermathHelpers.h.