MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / resultToString

Function resultToString

Source/RenderPasses/DLSSPass/NGXWrapper.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58const uint64_t kAppID = 231313132;
59
60std::string resultToString(NVSDK_NGX_Result result)
61{
62 char buf[1024];
63 snprintf(buf, sizeof(buf), "(code: 0x%08x, info: %ls)", result, GetNGXResultAsString(result));
64 buf[sizeof(buf) - 1] = '\0';
65 return std::string(buf);
66}
67
68#if FALCOR_HAS_VULKAN
69VkImageAspectFlags getAspectMaskFromFormat(VkFormat format)

Callers 2

initializeNGXMethod · 0.85
evaluateDLSSMethod · 0.85

Calls 1

stringFunction · 0.85

Tested by

no test coverage detected