Blender V4.3
vk_shader_compiler.cc File Reference
#include "BKE_appdir.hh"
#include "BLI_fileops.hh"
#include "BLI_hash.hh"
#include "BLI_path_utils.hh"
#include "BLI_time.h"
#include "vk_shader.hh"
#include "vk_shader_compiler.hh"

Go to the source code of this file.

Classes

struct  blender::gpu::SPIRVSidecar
 

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Functions

SPIR-V disk cache
static std::optional< std::string > blender::gpu::cache_dir_get ()
 
static bool blender::gpu::read_spirv_from_disk (VKShaderModule &shader_module)
 
static void blender::gpu::write_spirv_to_disk (VKShaderModule &shader_module)
 
Compilation
static const std::string blender::gpu::to_stage_name (shaderc_shader_kind stage)
 
static bool blender::gpu::compile_ex (shaderc::Compiler &compiler, VKShader &shader, shaderc_shader_kind stage, VKShaderModule &shader_module)