Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <dingto>2022-09-01 23:22:32 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-09-01 23:28:40 +0300
commitcc8ea6ac67a108fcb96e4a8373ac02faf9ccea3d (patch)
tree351d23dc82e72ea34e6f2d630f9746ec76344af5 /source/blender/gpu/GPU_capabilities.h
parentac07fb38a1b35fa156b2d0901eb35cd65ed73903 (diff)
Metal: MTLShader and MTLShaderGenerator implementation.
Full support for translation and compilation of shaders in Metal, using GPUShaderCreateInfo. Includes render pipeline state creation and management, enabling all standard GPU viewport rendering features in Metal. Authored by Apple: Michael Parkin-White, Marco Giordano Ref T96261 Reviewed By: fclem Maniphest Tasks: T96261 Differential Revision: https://developer.blender.org/D15563
Diffstat (limited to 'source/blender/gpu/GPU_capabilities.h')
-rw-r--r--source/blender/gpu/GPU_capabilities.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_capabilities.h b/source/blender/gpu/GPU_capabilities.h
index 61c60f336e1..91cf14dc792 100644
--- a/source/blender/gpu/GPU_capabilities.h
+++ b/source/blender/gpu/GPU_capabilities.h
@@ -30,6 +30,7 @@ int GPU_max_batch_indices(void);
int GPU_max_batch_vertices(void);
int GPU_max_vertex_attribs(void);
int GPU_max_varying_floats(void);
+int GPU_max_samplers(void);
int GPU_max_shader_storage_buffer_bindings(void);
int GPU_max_compute_shader_storage_blocks(void);
int GPU_max_samplers(void);