[PATCH vkd3d 1/5] vkd3d: Add trailing newlines to error messages in vkd3d_uav_clear_state_init().

Henri Verbeet hverbeet at codeweavers.com
Tue Jul 28 04:52:31 CDT 2020


Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
 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;
         }
     }
-- 
2.11.0




More information about the wine-devel mailing list