From 4ea3f3b3166830000b54157209aa4290480cc76c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 7 Oct 2020 14:05:36 +0200 Subject: 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. --- source/blender/gpu/intern/gpu_texture_private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu') 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. -- cgit v1.2.3