summaryrefslogtreecommitdiff
path: root/src/intel/compiler/brw_fs.cpp
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2021-10-03 15:58:36 +0300
committerMarge Bot <eric+marge@anholt.net>2021-10-05 07:31:52 +0000
commit4e4560ab6f34e82dd04f169fee66339d9888ee9b (patch)
treef68e90721cb2aa2247df04c6e3d2bd78c5fc5e6f /src/intel/compiler/brw_fs.cpp
parent710393b3aa4a99d446db0c41ef23eb44332332b4 (diff)
intel/compiler: add missing line returns to logs
In the upcoming intel_clc tool, we're allowing to print these messages out and some of them just don't look right. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13165>
Diffstat (limited to 'src/intel/compiler/brw_fs.cpp')
-rw-r--r--src/intel/compiler/brw_fs.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 5cb72f86d67..7b6f65a8e1e 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -716,7 +716,7 @@ fs_visitor::limit_dispatch_width(unsigned n, const char *msg)
} else {
max_dispatch_width = MIN2(max_dispatch_width, n);
brw_shader_perf_log(compiler, log_data,
- "Shader dispatch width limited to SIMD%d: %s",
+ "Shader dispatch width limited to SIMD%d: %s\n",
n, msg);
}
}
@@ -9810,7 +9810,7 @@ brw_compile_fs(const struct brw_compiler *compiler,
v16->import_uniforms(v8);
if (!v16->run_fs(allow_spilling, params->use_rep_send)) {
brw_shader_perf_log(compiler, params->log_data,
- "SIMD16 shader failed to compile: %s",
+ "SIMD16 shader failed to compile: %s\n",
v16->fail_msg);
} else {
simd16_cfg = v16->cfg;
@@ -9838,7 +9838,7 @@ brw_compile_fs(const struct brw_compiler *compiler,
v32->import_uniforms(v8);
if (!v32->run_fs(allow_spilling, false)) {
brw_shader_perf_log(compiler, params->log_data,
- "SIMD32 shader failed to compile: %s",
+ "SIMD32 shader failed to compile: %s\n",
v32->fail_msg);
} else {
const performance &perf = v32->performance_analysis.require();
@@ -10212,7 +10212,7 @@ brw_compile_cs(const struct brw_compiler *compiler,
const bool allow_spilling = generate_all || v == NULL;
if (!v16->run_cs(allow_spilling)) {
brw_shader_perf_log(compiler, params->log_data,
- "SIMD16 shader failed to compile: %s",
+ "SIMD16 shader failed to compile: %s\n",
v16->fail_msg);
if (!v) {
assert(v8 == NULL);
@@ -10260,7 +10260,7 @@ brw_compile_cs(const struct brw_compiler *compiler,
const bool allow_spilling = generate_all || v == NULL;
if (!v32->run_cs(allow_spilling)) {
brw_shader_perf_log(compiler, params->log_data,
- "SIMD32 shader failed to compile: %s",
+ "SIMD32 shader failed to compile: %s\n",
v32->fail_msg);
if (!v) {
assert(v8 == NULL);
@@ -10456,7 +10456,7 @@ compile_single_bs(const struct brw_compiler *compiler, void *log_data,
const bool allow_spilling = (v == NULL);
if (!v16->run_bs(allow_spilling)) {
brw_shader_perf_log(compiler, log_data,
- "SIMD16 shader failed to compile: %s",
+ "SIMD16 shader failed to compile: %s\n",
v16->fail_msg);
if (v == NULL) {
assert(v8 == NULL);