|
Blender V5.0
|
#include <vk_shader_compiler.hh>
Static Public Member Functions | |
Compilation | |
| static bool | compile_module (VKShader &shader, shaderc_shader_kind stage, VKShaderModule &shader_module) |
SPIR-V disk cache | |
| static void | cache_dir_clear_old () |
Vulkan shader compiler.
Is used for both single threaded compilation by calling VKShaderCompiler::compile_module or batch based compilation.
Definition at line 31 of file vk_shader_compiler.hh.
|
static |
Definition at line 118 of file vk_shader_compiler.cc.
References BLI_delete(), BLI_filelist_dir_contents(), BLI_filelist_free(), blender::gpu::cache_dir_get(), i, direntry::path, direntry::s, and S_ISDIR.
Referenced by blender::gpu::VKBackend::shader_cache_dir_clear_old().
|
static |
Definition at line 229 of file vk_shader_compiler.cc.
References blender::gpu::compile_ex().