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:
Diffstat (limited to 'source/blender/gpu/metal/mtl_capabilities.hh')
-rw-r--r--source/blender/gpu/metal/mtl_capabilities.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/gpu/metal/mtl_capabilities.hh b/source/blender/gpu/metal/mtl_capabilities.hh
index 5563008e87d..3afa6e31ccb 100644
--- a/source/blender/gpu/metal/mtl_capabilities.hh
+++ b/source/blender/gpu/metal/mtl_capabilities.hh
@@ -12,11 +12,11 @@ namespace gpu {
/*** Derived from: https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf ***/
/** Upper Bound/Fixed Limits **/
-#define METAL_MAX_TEXTURE_SLOTS 128
-#define METAL_MAX_SAMPLER_SLOTS METAL_MAX_TEXTURE_SLOTS
-#define METAL_MAX_UNIFORM_BUFFER_BINDINGS 31
-#define METAL_MAX_VERTEX_INPUT_ATTRIBUTES 31
-#define METAL_MAX_UNIFORMS_PER_BLOCK 64
+#define MTL_MAX_TEXTURE_SLOTS 128
+#define MTL_MAX_SAMPLER_SLOTS MTL_MAX_TEXTURE_SLOTS
+#define MTL_MAX_UNIFORM_BUFFER_BINDINGS 31
+#define MTL_MAX_VERTEX_INPUT_ATTRIBUTES 31
+#define MTL_MAX_UNIFORMS_PER_BLOCK 64
/* Context-specific limits -- populated in 'MTLBackend::platform_init' */
typedef struct MTLCapabilities {