diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-02-04 21:56:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-02-04 22:21:41 +0300 |
commit | 25c50ddd0904bc43b2a6cd198e93c0903fc8fd3c (patch) | |
tree | 74d7651a4ac1358f11f7f66d7fa732289f6b855f /source/blender/gpu/opengl | |
parent | 77d005ea367480609d659a8c9362ca0ee92c048d (diff) |
GPUFramebuffer: Bump max attachment count to 8
This is needed by eevee-rewrite
Diffstat (limited to 'source/blender/gpu/opengl')
-rw-r--r-- | source/blender/gpu/opengl/gl_framebuffer.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_framebuffer.hh b/source/blender/gpu/opengl/gl_framebuffer.hh index 9ebe549efe7..00a7676dd3f 100644 --- a/source/blender/gpu/opengl/gl_framebuffer.hh +++ b/source/blender/gpu/opengl/gl_framebuffer.hh @@ -141,6 +141,8 @@ static inline GLenum to_gl(const GPUAttachmentType type) ATTACHMENT(COLOR_ATTACHMENT3); ATTACHMENT(COLOR_ATTACHMENT4); ATTACHMENT(COLOR_ATTACHMENT5); + ATTACHMENT(COLOR_ATTACHMENT6); + ATTACHMENT(COLOR_ATTACHMENT7); default: BLI_assert(0); return GL_COLOR_ATTACHMENT0; |