Henri Verbeet : vkd3d: Add trailing newlines to error messages in vkd3d_uav_clear_state_init().

Alexandre Julliard julliard at winehq.org
Tue Jul 28 15:53:25 CDT 2020


Module: vkd3d
Branch: master
Commit: f6868919d3122e079ab4e93967bf4ef919509f42
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=f6868919d3122e079ab4e93967bf4ef919509f42

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Jul 28 14:40:31 2020 +0430

vkd3d: Add trailing newlines to error messages in vkd3d_uav_clear_state_init().

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/vkd3d/state.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libs/vkd3d/state.c b/libs/vkd3d/state.c
index 55cb389..316132b 100644
--- a/libs/vkd3d/state.c
+++ b/libs/vkd3d/state.c
@@ -2953,14 +2953,14 @@ HRESULT vkd3d_uav_clear_state_init(struct vkd3d_uav_clear_state *state, struct d
 
         if (FAILED(hr = vkd3d_create_descriptor_set_layout(device, 0, 1, &set_binding, set_layouts[i].set_layout)))
         {
-            ERR("Failed to create descriptor set layout %u, hr %#x.", i, hr);
+            ERR("Failed to create descriptor set layout %u, hr %#x.\n", i, hr);
             goto fail;
         }
 
         if (FAILED(hr = vkd3d_create_pipeline_layout(device, 1, set_layouts[i].set_layout,
                 1, &push_constant_range, set_layouts[i].pipeline_layout)))
         {
-            ERR("Failed to create pipeline layout %u, hr %#x.", i, hr);
+            ERR("Failed to create pipeline layout %u, hr %#x.\n", i, hr);
             goto fail;
         }
     }
@@ -2986,7 +2986,7 @@ HRESULT vkd3d_uav_clear_state_init(struct vkd3d_uav_clear_state *state, struct d
         if (FAILED(hr = vkd3d_create_compute_pipeline(device, &pipelines[i].code, &shader_interface,
                 *pipelines[i].pipeline_layout, pipelines[i].pipeline)))
         {
-            ERR("Failed to create compute pipeline %u, hr %#x.", i, hr);
+            ERR("Failed to create compute pipeline %u, hr %#x.\n", i, hr);
             goto fail;
         }
     }




More information about the wine-cvs mailing list