Blender V5.3
mtl_shader.mm File Reference
#include <fmt/ranges.h>
#include "BKE_global.hh"
#include "DNA_userdef_types.h"
#include "BLI_string.hh"
#include "BLI_time.hh"
#include <algorithm>
#include <fmt/format.h>
#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_generate.hh"
#include "mtl_shader_interface.hh"
#include "mtl_shader_log.hh"
#include "mtl_texture.hh"
#include "mtl_vertex_buffer.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::gpu

Functions

const char * blender::gpu::to_string (ShaderStage stage)
std::string blender::gpu::shader_stage_define (const ShaderStage stage)
Shader stage creation.
::MTLCompileOptions * blender::gpu::get_compile_options (const bool use_subpass_input, const bool use_texture_atomic, const bool use_ray_query)
Shader specialization common utilities.
::MTLFunctionConstantValues * blender::gpu::populate_specialization_constant_values (const shader::SpecializationConstants &shader_constants, const SpecializationStateDescriptor &specialization_descriptor)
Bake Pipeline State Objects
static uint32_t blender::gpu::get_buffers_binding_mask (NSArray< MTLArgument * > *args)
static uint16_t blender::gpu::get_images_binding_mask (NSArray< MTLArgument * > *args)
static uint64_t blender::gpu::get_samplers_binding_mask (NSArray< MTLArgument * > *args)

Variables

static CLG_LogRef blender::gpu::LOG = {"gpu.metal"}