Blender V4.3
blender::gpu::MTLParallelShaderCompiler Class Reference

#include <mtl_shader.hh>

Public Member Functions

void increment_ref_count ()
 
void decrement_ref_count ()
 
int get_ref_count ()
 

MTLParallelShaderCompiler

 MTLParallelShaderCompiler ()
 
 ~MTLParallelShaderCompiler ()
 
void create_compile_threads ()
 
BatchHandle batch_compile (MTLShaderCompiler *shade_compiler, Span< const shader::ShaderCreateInfo * > &infos)
 
bool batch_is_ready (BatchHandle handle)
 
Vector< Shader * > batch_finalize (BatchHandle &handle)
 
SpecializationBatchHandle precompile_specializations (Span< ShaderSpecialization > specializations)
 
bool specialization_batch_is_ready (SpecializationBatchHandle &handle)
 

Detailed Description

Definition at line 411 of file mtl_shader.hh.

Constructor & Destructor Documentation

◆ MTLParallelShaderCompiler()

blender::gpu::MTLParallelShaderCompiler::MTLParallelShaderCompiler ( )

Definition at line 1866 of file mtl_shader.mm.

References BLI_assert, and GPU_use_parallel_compilation().

◆ ~MTLParallelShaderCompiler()

Member Function Documentation

◆ batch_compile()

BatchHandle blender::gpu::MTLParallelShaderCompiler::batch_compile ( MTLShaderCompiler * shade_compiler,
Span< const shader::ShaderCreateInfo * > & infos )

◆ batch_finalize()

◆ batch_is_ready()

◆ create_compile_threads()

◆ decrement_ref_count()

void blender::gpu::MTLParallelShaderCompiler::decrement_ref_count ( )
inline

Definition at line 470 of file mtl_shader.hh.

References BLI_assert.

Referenced by blender::gpu::release_shared_parallel_shader_compiler().

◆ get_ref_count()

int blender::gpu::MTLParallelShaderCompiler::get_ref_count ( )
inline

◆ increment_ref_count()

void blender::gpu::MTLParallelShaderCompiler::increment_ref_count ( )
inline

Definition at line 466 of file mtl_shader.hh.

Referenced by blender::gpu::get_shared_parallel_shader_compiler().

◆ precompile_specializations()

◆ specialization_batch_is_ready()


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