mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 06:10:12 +01:00
r300/compiler: fix up error message
This commit is contained in:
parent
01b036adea
commit
9d07ff63fc
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue