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:
authorClément Foucault <foucault.clem@gmail.com>2020-10-07 15:05:36 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-10-07 15:09:08 +0300
commit4ea3f3b3166830000b54157209aa4290480cc76c (patch)
tree440573d2b6cf7f3af6cde127c7c015c83a4f3eda /source/blender/gpu/intern/gpu_texture_private.hh
parent76b15e338aa288cedc19dfe5fae3d2be0456bf4c (diff)
GPU: Fix assert when using gpu workaround and SSS + light renderpass
This path makes use of more framebuffers when using the gpu workarounds. Increase the MAX FBO attachments per texture. Maybe we could use a growing vector in the future.
Diffstat (limited to 'source/blender/gpu/intern/gpu_texture_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_texture_private.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_texture_private.hh b/source/blender/gpu/intern/gpu_texture_private.hh
index d4efebbaf95..b489493c5c1 100644
--- a/source/blender/gpu/intern/gpu_texture_private.hh
+++ b/source/blender/gpu/intern/gpu_texture_private.hh
@@ -66,7 +66,7 @@ ENUM_OPERATORS(eGPUTextureType)
#endif
/* Maximum number of FBOs a texture can be attached to. */
-#define GPU_TEX_MAX_FBO_ATTACHED 14
+#define GPU_TEX_MAX_FBO_ATTACHED 16
/**
* Implementation of Textures.