From 6b06f83a1b7c30a86365a6ec3630999baffedf51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 11 Sep 2011 15:31:57 +0200 Subject: [PATCH] mesa: bump max env params core limit --- src/mesa/main/config.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 91aef90..2e24f67 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -203,8 +203,8 @@ * per-program parameters. */ /*@{*/ -#define MAX_PROGRAM_LOCAL_PARAMS 4096 #define MAX_UNIFORMS 4096 +#define MAX_PROGRAM_LOCAL_PARAMS MAX_UNIFORMS /*@}*/ /** @@ -215,7 +215,7 @@ * and \c MAX_VERTEX_PROGRAM_PARAMS. Otherwise some applications will make * incorrect assumptions. */ -#define MAX_PROGRAM_ENV_PARAMS 256 +#define MAX_PROGRAM_ENV_PARAMS MAX_UNIFORMS #define MAX_PROGRAM_MATRICES 8 #define MAX_PROGRAM_MATRIX_STACK_DEPTH 4 -- 1.7.4.1