Monado OpenXR Runtime
Loading...
Searching...
No Matches
render_compute_pipeline_cache.cpp File Reference

Get-or-create cache for specialized compute pipelines. More...

#include "glue/g_catch_guard.hpp"
#include "vk/vk_mini_helpers.h"
#include "cache/render_compute_pipeline_cache.hpp"
#include <cstring>
#include <functional>
#include <new>
#include <string_view>
Include dependency graph for render_compute_pipeline_cache.cpp:

Macros

#define RENDER_PIPELINE_CACHE_ASSERT(condition)
 
#define RENDER_PIPELINE_CACHE_INSTANTIATE(Key)   template class ComputePipelineCache<Key>;
 
#define RENDER_PIPELINE_CACHE_DEFINE(CACHE, SPEC)
 

Functions

static xrt_result_t render_pipeline_cache_vk_to_xrt (VkResult ret)
 

Detailed Description

Get-or-create cache for specialized compute pipelines.

Macro Definition Documentation

◆ RENDER_PIPELINE_CACHE_ASSERT

#define RENDER_PIPELINE_CACHE_ASSERT (   condition)
Value:
do { \
if (!(condition)) { \
U_LOG_E("Condition failed: " #condition); \
assert(condition); \
} \
} while (0)