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/intern/gpu_capabilities.cc')
-rw-r--r--source/blender/gpu/intern/gpu_capabilities.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_capabilities.cc b/source/blender/gpu/intern/gpu_capabilities.cc
index 66e3a71317a..b750dacaca6 100644
--- a/source/blender/gpu/intern/gpu_capabilities.cc
+++ b/source/blender/gpu/intern/gpu_capabilities.cc
@@ -157,6 +157,11 @@ bool GPU_shader_image_load_store_support()
return GCaps.shader_image_load_store_support;
}
+int GPU_max_shader_storage_buffer_bindings()
+{
+ return GCaps.max_shader_storage_buffer_bindings;
+}
+
/** \} */
/* -------------------------------------------------------------------- */