Mesa (main): r300: Fix missing \n in an error message.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 3 22:40:25 UTC 2022


Module: Mesa
Branch: main
Commit: 5f55e7b845f7d81bf864af1fced3260bf9d7b190
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f55e7b845f7d81bf864af1fced3260bf9d7b190

Author: Emma Anholt <emma at anholt.net>
Date:   Mon Jan 31 11:31:31 2022 -0800

r300: Fix missing \n in an error message.

Reviewed-by: Matt Turner <mattst88 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14847>

---

 src/gallium/drivers/r300/compiler/r500_fragprog_emit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c b/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c
index f6c0032514b..f308b84f1c5 100644
--- a/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c
+++ b/src/gallium/drivers/r300/compiler/r500_fragprog_emit.c
@@ -655,7 +655,7 @@ void r500BuildFragmentProgramHwCode(struct radeon_compiler *c, void *user)
 	}
 
 	if (code->max_temp_idx >= compiler->Base.max_temp_regs)
-		rc_error(&compiler->Base, "Too many hardware temporaries used");
+		rc_error(&compiler->Base, "Too many hardware temporaries used\n");
 
 	if (compiler->Base.Error)
 		return;



More information about the mesa-commit mailing list