|
Blender V5.3
|
Go to the source code of this file.
Classes | |
| struct | blender::gpu::MTLCapabilities |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::gpu |
Macros | |
| #define | MTL_MAX_IMAGE_SLOTS GPU_MAX_IMAGE |
| #define | MTL_MAX_SAMPLER_SLOTS 64 |
| #define | MTL_MAX_TEXTURE_SLOTS (MTL_MAX_SAMPLER_SLOTS + MTL_MAX_IMAGE_SLOTS) |
| #define | MTL_MAX_DEFAULT_SAMPLERS 16 |
| #define | MTL_MAX_BUFFER_BINDINGS 31 |
| #define | MTL_MAX_VERTEX_INPUT_ATTRIBUTES 31 |
| #define | MTL_MAX_UNIFORMS_PER_BLOCK 64 |
| #define | MTL_MAX_SET_BYTES_SIZE 4096 |
Enumerations | |
| enum | blender::gpu::AppleGPUType { blender::gpu::APPLE_GPU_UNKNOWN = 0 , blender::gpu::APPLE_GPU_M1 = 1 , blender::gpu::APPLE_GPU_M2 = 2 , blender::gpu::APPLE_GPU_M3 = 3 } |
| #define MTL_MAX_BUFFER_BINDINGS 31 |
Definition at line 30 of file mtl_capabilities.hh.
Referenced by blender::gpu::MTLShader::bake_graphic_pipeline_state(), blender::gpu::MTLStorageBuf::bind(), blender::gpu::MTLUniformBuf::bind(), blender::gpu::MTLBindingCache< CommandEncoderT >::bind_buffer(), blender::gpu::MTLBindingCache< CommandEncoderT >::bind_bytes(), and blender::gpu::get_buffers_binding_mask().
| #define MTL_MAX_DEFAULT_SAMPLERS 16 |
Definition at line 22 of file mtl_capabilities.hh.
| #define MTL_MAX_IMAGE_SLOTS GPU_MAX_IMAGE |
Upper Bound/Fixed Limits Must match because of #StateManager::image_formats.
Definition at line 17 of file mtl_capabilities.hh.
Referenced by blender::gpu::get_images_binding_mask(), and blender::gpu::get_samplers_binding_mask().
| #define MTL_MAX_SAMPLER_SLOTS 64 |
Definition at line 18 of file mtl_capabilities.hh.
Referenced by blender::gpu::MTLContext::sampler_bind().
| #define MTL_MAX_SET_BYTES_SIZE 4096 |
Definition at line 34 of file mtl_capabilities.hh.
Referenced by blender::gpu::MTLBindingCache< CommandEncoderT >::bind_bytes().
| #define MTL_MAX_TEXTURE_SLOTS (MTL_MAX_SAMPLER_SLOTS + MTL_MAX_IMAGE_SLOTS) |
Definition at line 20 of file mtl_capabilities.hh.
Referenced by blender::gpu::MTLBindingCache< CommandEncoderT >::bind_sampler(), blender::gpu::MTLBindingCache< CommandEncoderT >::bind_texture(), blender::gpu::get_samplers_binding_mask(), blender::gpu::MTLContext::MTLContext(), and blender::gpu::MTLContext::texture_bind().
| #define MTL_MAX_UNIFORMS_PER_BLOCK 64 |
Definition at line 32 of file mtl_capabilities.hh.
| #define MTL_MAX_VERTEX_INPUT_ATTRIBUTES 31 |
Definition at line 31 of file mtl_capabilities.hh.