From e24ba6e1c09e67f3cac845710b66e5b6a5d3f0ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 27 Mar 2014 22:30:50 -0700 Subject: [PATCH] Increased GLSL compiler MaxDrawBuffers to 8. --- 3rdparty/glsl-optimizer/src/glsl/glsl_optimizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/glsl-optimizer/src/glsl/glsl_optimizer.cpp b/3rdparty/glsl-optimizer/src/glsl/glsl_optimizer.cpp index 5f92c123..488dc7f7 100644 --- a/3rdparty/glsl-optimizer/src/glsl/glsl_optimizer.cpp +++ b/3rdparty/glsl-optimizer/src/glsl/glsl_optimizer.cpp @@ -64,7 +64,7 @@ initialize_mesa_context(struct gl_context *ctx, glslopt_target api) ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = 16; ctx->Const.Program[MESA_SHADER_GEOMETRY].MaxTextureImageUnits = 16; - ctx->Const.MaxDrawBuffers = 2; + ctx->Const.MaxDrawBuffers = 8; ctx->Driver.NewShader = _mesa_new_shader; ctx->Driver.DeleteShader = DeleteShader;