projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b036a
)
r300/compiler: fix up error message
author
Marek Olšák
<maraeo@gmail.com>
Fri, 22 Apr 2011 16:54:02 +0000
(18:54 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 22 Apr 2011 18:25:24 +0000
(20:25 +0200)
src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
index 79cd7996f78aaa56b64f4b8772460bf0535aae36..b7936725d8514e7c856b5b2e6ee26531666f240c 100644
(file)
--- 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);
}
}