diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-10-07 15:05:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-10-07 15:09:08 +0300 |
commit | 4ea3f3b3166830000b54157209aa4290480cc76c (patch) | |
tree | 440573d2b6cf7f3af6cde127c7c015c83a4f3eda /source/blender/gpu/intern | |
parent | 76b15e338aa288cedc19dfe5fae3d2be0456bf4c (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')
-rw-r--r-- | source/blender/gpu/intern/gpu_texture_private.hh | 2 |
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. |