Blender V5.0
blender::gpu::VKShaderCompiler Class Reference

#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 ()

Detailed Description

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.

Member Function Documentation

◆ cache_dir_clear_old()

void blender::gpu::VKShaderCompiler::cache_dir_clear_old ( )
static

◆ compile_module()

bool blender::gpu::VKShaderCompiler::compile_module ( VKShader & shader,
shaderc_shader_kind stage,
VKShaderModule & shader_module )
static

Definition at line 229 of file vk_shader_compiler.cc.

References blender::gpu::compile_ex().


The documentation for this class was generated from the following files: