From 8dea4878617e6d1762938a3a96f95a16629fd455 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Thu, 5 Nov 2020 15:52:02 +0000 Subject: [PATCH] meta: Add missing newlines to end of files Remove trailing whitespace also Signed-off-by: Joshua Ashton --- .gitlab-ci.yml | 2 +- build-linux32.txt | 2 +- demos/gears.c | 2 +- demos/meson.build | 2 +- include/private/hashmap.h | 2 +- include/private/vkd3d_atomic.h | 4 ++-- include/private/vkd3d_platform.h | 2 +- include/vkd3d_swapchain_factory.idl | 2 +- include/vkd3d_win32.h | 2 +- libs/d3d12/d3d12.def | 2 +- libs/d3d12/meson.build | 2 +- libs/meson.build | 2 +- libs/vkd3d-shader/meson.build | 2 +- libs/vkd3d-shader/spirv.c | 2 +- libs/vkd3d-shader/vkd3d_shader_main.c | 2 +- libs/vkd3d-shader/vkd3d_shader_private.h | 2 +- libs/vkd3d-utils/meson.build | 2 +- libs/vkd3d/command.c | 2 +- libs/vkd3d/debug_ring.c | 2 +- libs/vkd3d/device.c | 2 +- libs/vkd3d/platform.c | 2 +- libs/vkd3d/renderdoc.c | 2 +- libs/vkd3d/shaders/cs_clear_uav_buffer_float.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_buffer_raw.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_buffer_uint.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_1d_array_float.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_1d_array_uint.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_1d_float.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_1d_uint.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_2d_array_float.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_2d_array_uint.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_2d_float.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_2d_uint.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_3d_float.comp | 4 ++-- libs/vkd3d/shaders/cs_clear_uav_image_3d_uint.comp | 4 ++-- libs/vkd3d/shaders/fs_copy_image_float.frag | 2 +- libs/vkd3d/shaders/gs_fullscreen.geom | 2 +- libs/vkd3d/shaders/vs_fullscreen.vert | 2 +- libs/vkd3d/shaders/vs_fullscreen_layer.vert | 2 +- libs/vkd3d/swapchain.c | 4 ++-- libs/vkd3d/vkd3d_private.h | 2 +- programs/vkd3d-compiler/meson.build | 2 +- 42 files changed, 57 insertions(+), 57 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63fac375..515381d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,4 +6,4 @@ vkd3d: artifacts: name: "vkd3d-${CI_COMMIT_REF_NAME}.${CI_COMMIT_SHA}" paths: - - build/vkd3d-release \ No newline at end of file + - build/vkd3d-release diff --git a/build-linux32.txt b/build-linux32.txt index 46ee75f3..57ca7039 100644 --- a/build-linux32.txt +++ b/build-linux32.txt @@ -21,4 +21,4 @@ bindir = 'bin' system = 'linux' cpu_family = 'x86' cpu = 'i686' -endian = 'little' \ No newline at end of file +endian = 'little' diff --git a/demos/gears.c b/demos/gears.c index b925045c..29ecb6cd 100644 --- a/demos/gears.c +++ b/demos/gears.c @@ -291,7 +291,7 @@ static double cxg_get_time(void) static void cxg_render_frame(struct cx_gears *cxg) { - static double t_prev = -1.0; + static double t_prev = -1.0; double dt, t; float a; diff --git a/demos/meson.build b/demos/meson.build index 062002c4..847a9355 100644 --- a/demos/meson.build +++ b/demos/meson.build @@ -30,4 +30,4 @@ executable('triangle', 'triangle.c', include_directories : vkd3d_public_includes, install : true, gui_app : true, - override_options : [ 'c_std='+vkd3d_c_std ]) \ No newline at end of file + override_options : [ 'c_std='+vkd3d_c_std ]) diff --git a/include/private/hashmap.h b/include/private/hashmap.h index 2c8b5bc8..0a0ac4e1 100644 --- a/include/private/hashmap.h +++ b/include/private/hashmap.h @@ -123,7 +123,7 @@ static inline bool hash_map_should_grow_before_insert(struct hash_map *hash_map) static inline struct hash_map_entry *hash_map_find(const struct hash_map *hash_map, const void *key) { uint32_t hash_value, entry_idx; - + if (!hash_map->entries) return NULL; diff --git a/include/private/vkd3d_atomic.h b/include/private/vkd3d_atomic.h index 5cf537b2..fb8c25f4 100644 --- a/include/private/vkd3d_atomic.h +++ b/include/private/vkd3d_atomic.h @@ -114,7 +114,7 @@ FORCEINLINE uint32_t vkd3d_atomic_uint32_decrement(uint32_t *target, vkd3d_memor #define vkd3d_memory_order_acquire __ATOMIC_ACQUIRE #define vkd3d_memory_order_release __ATOMIC_RELEASE #define vkd3d_memory_order_acq_rel __ATOMIC_ACQ_REL -#define vkd3d_memory_order_seq_cst __ATOMIC_SEQ_CST +#define vkd3d_memory_order_seq_cst __ATOMIC_SEQ_CST # define vkd3d_atomic_uint32_load_explicit(target, order) __atomic_load_n(target, order) # define vkd3d_atomic_uint32_store_explicit(target, value, order) __atomic_store_n(target, value, order) @@ -134,4 +134,4 @@ FORCEINLINE uint32_t vkd3d_atomic_uint32_decrement(uint32_t *target, vkd3d_memor #endif -#endif \ No newline at end of file +#endif diff --git a/include/private/vkd3d_platform.h b/include/private/vkd3d_platform.h index a93a953a..ff0c682f 100644 --- a/include/private/vkd3d_platform.h +++ b/include/private/vkd3d_platform.h @@ -39,4 +39,4 @@ const char *vkd3d_dlerror(void); bool vkd3d_get_program_name(char program_name[VKD3D_PATH_MAX]); -#endif \ No newline at end of file +#endif diff --git a/include/vkd3d_swapchain_factory.idl b/include/vkd3d_swapchain_factory.idl index ca376d9b..5dc3fe5b 100644 --- a/include/vkd3d_swapchain_factory.idl +++ b/include/vkd3d_swapchain_factory.idl @@ -36,4 +36,4 @@ interface IWineDXGISwapChainFactory : IUnknown [in] IDXGIOutput *pRestrictToOutput, [out] IDXGISwapChain1 **ppSwapChain ); -} \ No newline at end of file +} diff --git a/include/vkd3d_win32.h b/include/vkd3d_win32.h index e7eff598..b721cbb2 100644 --- a/include/vkd3d_win32.h +++ b/include/vkd3d_win32.h @@ -69,4 +69,4 @@ #define VKD3D_NO_VULKAN_H #include -#endif \ No newline at end of file +#endif diff --git a/libs/d3d12/d3d12.def b/libs/d3d12/d3d12.def index b0ceb3e2..fb33afee 100644 --- a/libs/d3d12/d3d12.def +++ b/libs/d3d12/d3d12.def @@ -8,4 +8,4 @@ EXPORTS D3D12EnableExperimentalFeatures @110 D3D12SerializeRootSignature @115 - D3D12SerializeVersionedRootSignature @116 \ No newline at end of file + D3D12SerializeVersionedRootSignature @116 diff --git a/libs/d3d12/meson.build b/libs/d3d12/meson.build index 49e69882..ef9b9d8a 100644 --- a/libs/d3d12/meson.build +++ b/libs/d3d12/meson.build @@ -13,4 +13,4 @@ d3d12_lib = shared_library('d3d12', d3d12_src, d3d12_dep = declare_dependency( link_with : d3d12_lib, - include_directories : vkd3d_public_includes) \ No newline at end of file + include_directories : vkd3d_public_includes) diff --git a/libs/meson.build b/libs/meson.build index 35bb265b..69f7f070 100644 --- a/libs/meson.build +++ b/libs/meson.build @@ -4,4 +4,4 @@ subdir('vkd3d') subdir('vkd3d-utils') if enable_d3d12 subdir('d3d12') -endif \ No newline at end of file +endif diff --git a/libs/vkd3d-shader/meson.build b/libs/vkd3d-shader/meson.build index 84156037..d44e5815 100644 --- a/libs/vkd3d-shader/meson.build +++ b/libs/vkd3d-shader/meson.build @@ -15,4 +15,4 @@ vkd3d_shader_lib = static_library('vkd3d-shader', vkd3d_shader_src, vkd3d_shader_dep = declare_dependency( link_with : vkd3d_shader_lib, dependencies : vkd3d_common_dep, - include_directories : vkd3d_public_includes) \ No newline at end of file + include_directories : vkd3d_public_includes) diff --git a/libs/vkd3d-shader/spirv.c b/libs/vkd3d-shader/spirv.c index 5420d388..de9af87f 100644 --- a/libs/vkd3d-shader/spirv.c +++ b/libs/vkd3d-shader/spirv.c @@ -3427,7 +3427,7 @@ static uint32_t vkd3d_dxbc_compiler_emit_abs(struct vkd3d_dxbc_compiler *compile { struct vkd3d_spirv_builder *builder = &compiler->spirv_builder; uint32_t type_id; - + type_id = vkd3d_dxbc_compiler_get_type_id_for_reg(compiler, reg, write_mask); if (reg->data_type == VKD3D_DATA_FLOAT || reg->data_type == VKD3D_DATA_DOUBLE) return vkd3d_spirv_build_op_glsl_std450_fabs(builder, type_id, val_id); diff --git a/libs/vkd3d-shader/vkd3d_shader_main.c b/libs/vkd3d-shader/vkd3d_shader_main.c index cfe92ba5..faf81c8b 100644 --- a/libs/vkd3d-shader/vkd3d_shader_main.c +++ b/libs/vkd3d-shader/vkd3d_shader_main.c @@ -218,7 +218,7 @@ unsigned int vkd3d_shader_scan_get_register_flags(const struct vkd3d_shader_scan key.register_type = type; key.register_id = id; - + e = hash_map_find(&scan_info->register_map, &key); return e ? e->flags : 0u; } diff --git a/libs/vkd3d-shader/vkd3d_shader_private.h b/libs/vkd3d-shader/vkd3d_shader_private.h index 0d252859..ac20c5e5 100644 --- a/libs/vkd3d-shader/vkd3d_shader_private.h +++ b/libs/vkd3d-shader/vkd3d_shader_private.h @@ -286,7 +286,7 @@ enum VKD3D_SHADER_INSTRUCTION_HANDLER VKD3DSIH_DMUL, VKD3DSIH_DEQ, VKD3DSIH_DGE, - VKD3DSIH_DLT, + VKD3DSIH_DLT, VKD3DSIH_DNE, VKD3DSIH_DMOV, VKD3DSIH_DMOVC, diff --git a/libs/vkd3d-utils/meson.build b/libs/vkd3d-utils/meson.build index a76f57c7..306256c5 100644 --- a/libs/vkd3d-utils/meson.build +++ b/libs/vkd3d-utils/meson.build @@ -16,4 +16,4 @@ vkd3d_utils_lib = shared_library('vkd3d-proton-utils', vkd3d_utils_src, vkd3d_utils_dep = declare_dependency( link_with : vkd3d_utils_lib, - include_directories : vkd3d_public_includes) \ No newline at end of file + include_directories : vkd3d_public_includes) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index cb39f1c7..99b8123a 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -8282,7 +8282,7 @@ static void *d3d12_command_queue_submission_worker_main(void *userdata) break; case VKD3D_SUBMISSION_BIND_SPARSE: - d3d12_command_queue_bind_sparse(queue, submission.bind_sparse.mode, + d3d12_command_queue_bind_sparse(queue, submission.bind_sparse.mode, submission.bind_sparse.dst_resource, submission.bind_sparse.src_resource, submission.bind_sparse.bind_count, submission.bind_sparse.bind_infos); vkd3d_free(submission.bind_sparse.bind_infos); diff --git a/libs/vkd3d/debug_ring.c b/libs/vkd3d/debug_ring.c index 7f4f5d84..9a760024 100644 --- a/libs/vkd3d/debug_ring.c +++ b/libs/vkd3d/debug_ring.c @@ -318,4 +318,4 @@ void vkd3d_shader_debug_ring_end_command_buffer(struct d3d12_command_list *list) VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, 0, 1, &barrier, 0, NULL, 0, NULL)); } -} \ No newline at end of file +} diff --git a/libs/vkd3d/device.c b/libs/vkd3d/device.c index a335e0db..96655193 100644 --- a/libs/vkd3d/device.c +++ b/libs/vkd3d/device.c @@ -4267,7 +4267,7 @@ static void d3d12_device_caps_init_feature_options1(struct d3d12_device *device) const VkPhysicalDeviceShaderCorePropertiesAMD *amd = &device->device_info.shader_core_properties; const VkPhysicalDeviceShaderCoreProperties2AMD *amd2 = &device->device_info.shader_core_properties2; uint32_t compute_units; - + if (device->vk_info.AMD_shader_core_properties2) compute_units = amd2->activeComputeUnitCount; else diff --git a/libs/vkd3d/platform.c b/libs/vkd3d/platform.c index df0af2f7..adb7e8fc 100644 --- a/libs/vkd3d/platform.c +++ b/libs/vkd3d/platform.c @@ -152,4 +152,4 @@ bool vkd3d_get_program_name(char program_name[VKD3D_PATH_MAX]) return false; } -#endif \ No newline at end of file +#endif diff --git a/libs/vkd3d/renderdoc.c b/libs/vkd3d/renderdoc.c index 32cb8b4e..c778fc84 100644 --- a/libs/vkd3d/renderdoc.c +++ b/libs/vkd3d/renderdoc.c @@ -284,4 +284,4 @@ void vkd3d_renderdoc_command_queue_end_capture(struct d3d12_command_queue *comma } else vkd3d_renderdoc_end_capture(command_queue->device->vkd3d_instance->vk_instance); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_buffer_float.comp b/libs/vkd3d/shaders/cs_clear_uav_buffer_float.comp index 8f078fdb..c20f954d 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_buffer_float.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_buffer_float.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { int thread_id = int(gl_GlobalInvocationID.x); - + if (thread_id < u_info.dst_extent.x) imageStore(dst, u_info.dst_offset.x + thread_id, u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_buffer_raw.comp b/libs/vkd3d/shaders/cs_clear_uav_buffer_raw.comp index fa60cd0c..4802df32 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_buffer_raw.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_buffer_raw.comp @@ -16,7 +16,7 @@ uniform u_info_t { void main() { int thread_id = int(gl_GlobalInvocationID.x); - + if (thread_id < u_info.dst_extent.x) dst.data[u_info.dst_offset.x + thread_id] = u_info.clear_value.x; -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_buffer_uint.comp b/libs/vkd3d/shaders/cs_clear_uav_buffer_uint.comp index f9e158a6..45e72171 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_buffer_uint.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_buffer_uint.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { int thread_id = int(gl_GlobalInvocationID.x); - + if (thread_id < u_info.dst_extent.x) imageStore(dst, u_info.dst_offset.x + thread_id, u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_1d_array_float.comp b/libs/vkd3d/shaders/cs_clear_uav_image_1d_array_float.comp index ab8b17d2..a2a30ae9 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_1d_array_float.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_1d_array_float.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (thread_id.x < u_info.dst_extent.x) imageStore(dst, ivec2(u_info.dst_offset.x + thread_id.x, thread_id.y), u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_1d_array_uint.comp b/libs/vkd3d/shaders/cs_clear_uav_image_1d_array_uint.comp index 9be753db..12f32798 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_1d_array_uint.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_1d_array_uint.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (thread_id.x < u_info.dst_extent.x) imageStore(dst, ivec2(u_info.dst_offset.x + thread_id.x, thread_id.y), u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_1d_float.comp b/libs/vkd3d/shaders/cs_clear_uav_image_1d_float.comp index 64d81258..b1a307c4 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_1d_float.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_1d_float.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (thread_id.x < u_info.dst_extent.x) imageStore(dst, u_info.dst_offset.x + thread_id.x, u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_1d_uint.comp b/libs/vkd3d/shaders/cs_clear_uav_image_1d_uint.comp index b37137f7..a7895bc6 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_1d_uint.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_1d_uint.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (thread_id.x < u_info.dst_extent.x) imageStore(dst, u_info.dst_offset.x + thread_id.x, u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_2d_array_float.comp b/libs/vkd3d/shaders/cs_clear_uav_image_2d_array_float.comp index 73d70c3e..2459af86 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_2d_array_float.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_2d_array_float.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (all(lessThan(thread_id.xy, u_info.dst_extent.xy))) imageStore(dst, ivec3(u_info.dst_offset.xy + thread_id.xy, thread_id.z), u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_2d_array_uint.comp b/libs/vkd3d/shaders/cs_clear_uav_image_2d_array_uint.comp index 94188a2f..a012aa52 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_2d_array_uint.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_2d_array_uint.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (all(lessThan(thread_id.xy, u_info.dst_extent.xy))) imageStore(dst, ivec3(u_info.dst_offset.xy + thread_id.xy, thread_id.z), u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_2d_float.comp b/libs/vkd3d/shaders/cs_clear_uav_image_2d_float.comp index a4c84bef..38110b8d 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_2d_float.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_2d_float.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (all(lessThan(thread_id.xy, u_info.dst_extent.xy))) imageStore(dst, u_info.dst_offset.xy + thread_id.xy, u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_2d_uint.comp b/libs/vkd3d/shaders/cs_clear_uav_image_2d_uint.comp index d26e6fbf..14047ea3 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_2d_uint.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_2d_uint.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (all(lessThan(thread_id.xy, u_info.dst_extent.xy))) imageStore(dst, u_info.dst_offset.xy + thread_id.xy, u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_3d_float.comp b/libs/vkd3d/shaders/cs_clear_uav_image_3d_float.comp index 653d5cd4..5d30ffe3 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_3d_float.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_3d_float.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (all(lessThan(thread_id.xy, u_info.dst_extent))) imageStore(dst, ivec3(u_info.dst_offset.xy, 0) + thread_id.xyz, u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/cs_clear_uav_image_3d_uint.comp b/libs/vkd3d/shaders/cs_clear_uav_image_3d_uint.comp index a630fdfd..30d4fc5f 100644 --- a/libs/vkd3d/shaders/cs_clear_uav_image_3d_uint.comp +++ b/libs/vkd3d/shaders/cs_clear_uav_image_3d_uint.comp @@ -14,7 +14,7 @@ uniform u_info_t { void main() { ivec3 thread_id = ivec3(gl_GlobalInvocationID); - + if (all(lessThan(thread_id.xy, u_info.dst_extent))) imageStore(dst, ivec3(u_info.dst_offset.xy, 0) + thread_id.xyz, u_info.clear_value); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/fs_copy_image_float.frag b/libs/vkd3d/shaders/fs_copy_image_float.frag index 069213f3..7f02fcf8 100644 --- a/libs/vkd3d/shaders/fs_copy_image_float.frag +++ b/libs/vkd3d/shaders/fs_copy_image_float.frag @@ -26,4 +26,4 @@ void main() { if (c_mode == MODE_2D) value = texelFetch(tex_2d, coord, 0).r; if (c_mode == MODE_MS) value = texelFetch(tex_ms, coord, gl_SampleID).r; gl_FragDepth = o_color = value; -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/gs_fullscreen.geom b/libs/vkd3d/shaders/gs_fullscreen.geom index e0a043f6..b873ec5e 100644 --- a/libs/vkd3d/shaders/gs_fullscreen.geom +++ b/libs/vkd3d/shaders/gs_fullscreen.geom @@ -13,4 +13,4 @@ void main() { } EndPrimitive(); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/vs_fullscreen.vert b/libs/vkd3d/shaders/vs_fullscreen.vert index 948f0178..7dbefe03 100644 --- a/libs/vkd3d/shaders/vs_fullscreen.vert +++ b/libs/vkd3d/shaders/vs_fullscreen.vert @@ -8,4 +8,4 @@ void main() { float(gl_VertexIndex & 1) * 4.0f - 1.0f, float(gl_VertexIndex & 2) * 2.0f - 1.0f, 0.0f, 1.0f); -} \ No newline at end of file +} diff --git a/libs/vkd3d/shaders/vs_fullscreen_layer.vert b/libs/vkd3d/shaders/vs_fullscreen_layer.vert index 1806c3cd..17297314 100644 --- a/libs/vkd3d/shaders/vs_fullscreen_layer.vert +++ b/libs/vkd3d/shaders/vs_fullscreen_layer.vert @@ -8,4 +8,4 @@ void main() { float(gl_VertexIndex & 1) * 4.0f - 1.0f, float(gl_VertexIndex & 2) * 2.0f - 1.0f, 0.0f, 1.0f); -} \ No newline at end of file +} diff --git a/libs/vkd3d/swapchain.c b/libs/vkd3d/swapchain.c index 50482d61..7ee90a6b 100644 --- a/libs/vkd3d/swapchain.c +++ b/libs/vkd3d/swapchain.c @@ -19,7 +19,7 @@ * This file uses extracts from the Wine project * specifically dlls/wined3d/swapchain.c and dlls/dxgi/swapchain.c * the license is as follows: - * + * * Copyright 2002-2003 Jason Edmeades * Copyright 2002-2003 Raphael Junqueira * Copyright 2005 Oliver Stieber @@ -315,7 +315,7 @@ static HRESULT d3d12_output_set_display_mode(IDXGIOutput *output, DXGI_MODE_DESC ERR("Interlacing mode not supported."); return DXGI_ERROR_NOT_CURRENTLY_AVAILABLE; } - + } } else diff --git a/libs/vkd3d/vkd3d_private.h b/libs/vkd3d/vkd3d_private.h index b2d77e7b..a5e3982b 100644 --- a/libs/vkd3d/vkd3d_private.h +++ b/libs/vkd3d/vkd3d_private.h @@ -990,7 +990,7 @@ struct d3d12_pipeline_state VkPipelineBindPoint vk_bind_point; VkPipelineCache vk_pso_cache; - ID3D12RootSignature *private_root_signature; + ID3D12RootSignature *private_root_signature; struct d3d12_device *device; struct vkd3d_private_store private_store; diff --git a/programs/vkd3d-compiler/meson.build b/programs/vkd3d-compiler/meson.build index 38c4191c..733c4a52 100644 --- a/programs/vkd3d-compiler/meson.build +++ b/programs/vkd3d-compiler/meson.build @@ -2,4 +2,4 @@ executable('vkd3d-proton-compiler', 'main.c', dependencies : [ vkd3d_shader_dep, threads_dep ], include_directories : vkd3d_private_includes, install : true, - override_options : [ 'c_std='+vkd3d_c_std ]) \ No newline at end of file + override_options : [ 'c_std='+vkd3d_c_std ])