GPUFramebuffer: Bump max attachment count to 8

This is needed by eevee-rewrite
This commit is contained in:
2022-02-04 19:56:36 +01:00
parent 77d005ea36
commit 25c50ddd09
2 changed files with 5 additions and 2 deletions

View File

@@ -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;