|
Monado OpenXR Runtime
|
Shader loading code. More...
#include "vk/vk_mini_helpers.h"#include "render_shaders_interface.h"#include "blit.comp.h"#include "clear.comp.h"#include "layer.comp.h"#include "distortion.comp.h"#include "layer_cylinder.frag.h"#include "layer_cylinder.vert.h"#include "layer_equirect2.frag.h"#include "layer_equirect2.vert.h"#include "layer_projection.vert.h"#include "layer_quad.vert.h"#include "layer_shared.frag.h"#include "mesh.frag.h"#include "mesh.vert.h"
Macros | |
| #define | LOAD(SHADER) |
Functions | |
| static XRT_CHECK_RESULT VkResult | shader_load (struct vk_bundle *vk, const uint32_t *code, size_t size, VkShaderModule *out_module) |
| bool | render_shaders_load (struct render_shaders *s, struct vk_bundle *vk) |
| Loads all of the shaders that the compositor uses. More... | |
| void | render_shaders_fini (struct render_shaders *s, struct vk_bundle *vk) |
| Unload and cleanup shaders. More... | |
Shader loading code.
| #define LOAD | ( | SHADER | ) |
| void render_shaders_fini | ( | struct render_shaders * | s, |
| struct vk_bundle * | vk | ||
| ) |
Unload and cleanup shaders.
References D.
| bool render_shaders_load | ( | struct render_shaders * | s, |
| struct vk_bundle * | vk | ||
| ) |
Loads all of the shaders that the compositor uses.