diff options
author | Marek Olšák <[email protected]> | 2011-04-22 18:54:02 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-04-22 20:25:24 +0200 |
commit | 9d07ff63fca91fa98f9734699e499c410d896da4 (patch) | |
tree | cf8ff60b1f3de100bef535ef827b9c41db286e72 | |
parent | 01b036adea7c6534e0c3122c02c289f6fa2804e8 (diff) |
r300/compiler: fix up error message
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_compiler.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |