Increased GLSL compiler MaxDrawBuffers to 8.

This commit is contained in:
Branimir Karadžić 2014-03-27 22:30:50 -07:00
parent 0f1f324033
commit e24ba6e1c0

View file

@ -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_FRAGMENT].MaxTextureImageUnits = 16;
ctx->Const.Program[MESA_SHADER_GEOMETRY].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.NewShader = _mesa_new_shader;
ctx->Driver.DeleteShader = DeleteShader; ctx->Driver.DeleteShader = DeleteShader;