From: Marek Olšák Date: Fri, 22 Apr 2011 16:54:02 +0000 (+0200) Subject: r300/compiler: fix up error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d07ff63fca91fa98f9734699e499c410d896da4;p=mesa.git r300/compiler: fix up error message --- diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c index 79cd7996f78..b7936725d85 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c @@ -483,7 +483,7 @@ void rc_validate_final_shader(struct radeon_compiler *c, void *user) { /* Check the number of constants. */ if (c->Program.Constants.Count > c->max_constants) { - rc_error(c, "Too many constants. Max: 256, Got: %i\n", - c->Program.Constants.Count); + rc_error(c, "Too many constants. Max: %i, Got: %i\n", + c->max_constants, c->Program.Constants.Count); } }