Blender V5.0
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 <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_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)
Shader specialization common utilities.
static void blender::gpu::populate_specialization_constant_values (MTLFunctionConstantValues *values, const shader::SpecializationConstants &shader_constants, const SpecializationStateDescriptor &specialization_descriptor)