Blender V4.3
mtl_shader.mm File Reference
#include "BKE_global.hh"
#include "DNA_userdef_types.h"
#include "BLI_string.h"
#include "BLI_time.h"
#include <algorithm>
#include <fstream>
#include <iostream>
#include <map>
#include <mutex>
#include <regex>
#include <sstream>
#include <string>
#include <cstring>
#include "GPU_platform.hh"
#include "GPU_vertex_format.hh"
#include "gpu_shader_dependency_private.hh"
#include "mtl_common.hh"
#include "mtl_context.hh"
#include "mtl_debug.hh"
#include "mtl_pso_descriptor_state.hh"
#include "mtl_shader.hh"
#include "mtl_shader_generator.hh"
#include "mtl_shader_interface.hh"
#include "mtl_shader_log.hh"
#include "mtl_texture.hh"
#include "mtl_vertex_buffer.hh"
#include "GHOST_C-api.h"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Functions

const char * blender::gpu::to_string (ShaderStage stage)
 
MTLParallelShaderCompilerblender::gpu::get_shared_parallel_shader_compiler ()
 
void blender::gpu::release_shared_parallel_shader_compiler ()
 
Shader specialization common utilities.
static void blender::gpu::populate_specialization_constant_values (MTLFunctionConstantValues *values, const Shader::Constants &shader_constants, const SpecializationStateDescriptor &specialization_descriptor)
 

Variables

const char datatoc_mtl_shader_common_msl []
 
MTLParallelShaderCompilerblender::gpu::g_shared_parallel_shader_compiler = nullptr
 
std::mutex blender::gpu::g_shared_parallel_shader_compiler_mutex
 

Variable Documentation

◆ datatoc_mtl_shader_common_msl

const char datatoc_mtl_shader_common_msl[]
extern