[Bf-blender-cvs] [4ea3f3b3166] master: GPU: Fix assert when using gpu workaround and SSS + light renderpass
Clément Foucault
noreply at git.blender.org
Wed Oct 7 14:09:14 CEST 2020
Commit: 4ea3f3b3166830000b54157209aa4290480cc76c
Author: Clément Foucault
Date: Wed Oct 7 14:05:36 2020 +0200
Branches: master
https://developer.blender.org/rB4ea3f3b3166830000b54157209aa4290480cc76c
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.
===================================================================
M source/blender/gpu/intern/gpu_texture_private.hh
===================================================================
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.
More information about the Bf-blender-cvs
mailing list