|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "GPU_batch.hh"#include "GPU_capabilities.hh"#include "GPU_shader.hh"#include "GPU_vertex_format.hh"#include <Metal/Metal.h>#include <QuartzCore/QuartzCore.h>#include <functional>#include <unordered_map>#include <deque>#include <mutex>#include <thread>#include "mtl_framebuffer.hh"#include "mtl_shader_interface.hh"#include "mtl_shader_shared.h"#include "mtl_state.hh"#include "mtl_texture.hh"#include "gpu_shader_create_info.hh"#include "gpu_shader_private.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
Macros | |
| #define | MTL_SHADER_DEBUG_EXPORT_SOURCE 0 |
| #define | MTL_SHADER_TRANSLATION_DEBUG_OUTPUT 0 |
| #define | shader_debug_printf(...) /* Null print. */ |
| #define | MTL_SHADER_SPECIALIZATION_CONSTANT_BASE_ID 30 |
| #define | MTL_SHADER_MAX_SPECIALIZED_PSOS 5 |
Functions | |
| bool | blender::gpu::mtl_vertex_format_resize (MTLVertexFormat mtl_format, uint32_t components, MTLVertexFormat *r_convertedFormat) |
| bool | blender::gpu::mtl_convert_vertex_format (MTLVertexFormat shader_attrib_format, GPUVertCompType component_type, uint32_t component_length, GPUVertFetchMode fetch_mode, MTLVertexFormat *r_convertedFormat) |
| uint | blender::gpu::comp_count_from_vert_format (MTLVertexFormat vert_format) |
| GPUVertFetchMode | blender::gpu::fetchmode_from_vert_format (MTLVertexFormat vert_format) |
| GPUVertCompType | blender::gpu::comp_type_from_vert_format (MTLVertexFormat vert_format) |
| #define MTL_SHADER_DEBUG_EXPORT_SOURCE 0 |
Definition at line 42 of file mtl_shader.hh.
| #define MTL_SHADER_MAX_SPECIALIZED_PSOS 5 |
Definition at line 57 of file mtl_shader.hh.
| #define MTL_SHADER_SPECIALIZATION_CONSTANT_BASE_ID 30 |
Definition at line 53 of file mtl_shader.hh.
Referenced by blender::gpu::generate_specialization_constant_declarations(), and blender::gpu::populate_specialization_constant_values().
| #define MTL_SHADER_TRANSLATION_DEBUG_OUTPUT 0 |
Definition at line 43 of file mtl_shader.hh.
| #define shader_debug_printf | ( | ... | ) | /* Null print. */ |
Definition at line 49 of file mtl_shader.hh.
Referenced by blender::gpu::MTLShader::bake_pipeline_state(), blender::gpu::MSLGeneratorInterface::bake_shader_interface(), blender::gpu::MTLParallelShaderCompiler::batch_compile(), blender::gpu::MTLParallelShaderCompiler::batch_is_ready(), blender::gpu::MSLGeneratorInterface::generate_msl_fragment_input_population(), blender::gpu::MSLGeneratorInterface::generate_msl_textures_input_string(), blender::gpu::MTLParallelShaderCompiler::specialization_batch_is_ready(), and blender::gpu::MTLShader::uniform_float().