|
Monado OpenXR Runtime
|
C++ shader specialization map entries for render compute shaders. More...
#include "xrt/xrt_vulkan_includes.h"#include <array>#include <cstddef>#include "cache/render_shader_specialization.h"#include "render_shader_specialization.hpp.inc"
Go to the source code of this file.
C++ shader specialization map entries for render compute shaders.
Entry point for build-generated specialization metadata. Include after the render_shader_specialization custom target (or aux_shaders) has been built so render_shader_specialization.hpp.inc is available on the include path.
ShaderSpecializationMap<Key> primary template (specializations are generated below).render_shader_specialization.hpp.inc)ShaderSpecializationMap specialization per shader listed in shader_specializations().RENDER_SHADER_SPECIALIZATION_KEYS(X) — X-macro with one X(KeyStruct) entry per generated spec struct (e.g. render_distortion_spec).RENDER_SHADER_SPECIALIZATION_CACHE_NAMES(X) and RENDER_SHADER_SPECIALIZATION_ENTRIES(X) — same cache-name macros as in render_shader_specialization.h.Struct definitions live in render_shader_specialization.h.
Produced by cmake/generate_shader_specialization.py via cmake/ShaderSpecialization.cmake.