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:
authorStefan Werner <stefan.werner@tangent-animation.com>2021-07-15 13:26:05 +0300
committerStefan Werner <stefan.werner@tangent-animation.com>2021-07-15 13:26:05 +0300
commit465fb31ed275618ec71e4925ab94bd4a9b077a12 (patch)
tree5366cd7a514f23fee7b0486f3deabb95a3b5ebd7 /source/blender/gpu/intern/gpu_capabilities_private.hh
parent0a2c10e4f0c76fa9e7207b8519bc4020dfd40dd7 (diff)
parentd5e626b24309b85eb2123bf76d4b8dfc2c728472 (diff)
Merge branch 'master' into cycles_texture_cache
Diffstat (limited to 'source/blender/gpu/intern/gpu_capabilities_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_capabilities_private.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_capabilities_private.hh b/source/blender/gpu/intern/gpu_capabilities_private.hh
index 7c1d4590ce8..95cf7fd335d 100644
--- a/source/blender/gpu/intern/gpu_capabilities_private.hh
+++ b/source/blender/gpu/intern/gpu_capabilities_private.hh
@@ -41,6 +41,8 @@ struct GPUCapabilities {
int max_textures_vert = 0;
int max_textures_geom = 0;
int max_textures_frag = 0;
+ int max_work_group_count[3] = {0, 0, 0};
+ int max_work_group_size[3] = {0, 0, 0};
int max_uniforms_vert = 0;
int max_uniforms_frag = 0;
int max_batch_indices = 0;
@@ -51,6 +53,8 @@ struct GPUCapabilities {
const char *(*extension_get)(int);
bool mem_stats_support = false;
+ bool compute_shader_support = false;
+ bool shader_storage_buffer_objects_support = false;
bool shader_image_load_store_support = false;
/* OpenGL related workarounds. */
bool mip_render_workaround = false;