Module: vkd3d
Branch: master
Commit: b64482e7c7a6f278266bf80c7f07362e0db3e8ee
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=b64482e7c7a6f278266bf80…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Mon Mar 7 16:20:23 2022 +0100
vkd3d-shader/spirv: Fix the spelling of some comments.
Signed-off-by: Francois Gouget <fgouget(a)free.fr>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
libs/vkd3d-shader/spirv.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libs/vkd3d-shader/spirv.c b/libs/vkd3d-shader/spirv.c
index 1bb4c404..bb5e8c6f 100644
--- a/libs/vkd3d-shader/spirv.c
+++ b/libs/vkd3d-shader/spirv.c
@@ -1,6 +1,6 @@
/*
* Copyright 2017 Józef Kucia for CodeWeavers
- * Copyright 2021 Conor McCarthy for Codeweavers
+ * Copyright 2021 Conor McCarthy for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -7425,7 +7425,7 @@ static void vkd3d_dxbc_compiler_emit_f16tof32(struct vkd3d_dxbc_compiler *compil
type_id = vkd3d_spirv_get_type_id(builder, VKD3D_SHADER_COMPONENT_FLOAT, 2);
scalar_type_id = vkd3d_spirv_get_type_id(builder, VKD3D_SHADER_COMPONENT_FLOAT, 1);
- /* FIXME: Consider a single UnpackHalf2x16 intruction per 2 components. */
+ /* FIXME: Consider a single UnpackHalf2x16 instruction per 2 components. */
assert(dst->write_mask & VKD3DSP_WRITEMASK_ALL);
for (i = 0, j = 0; i < VKD3D_VEC4_SIZE; ++i)
{
@@ -7459,7 +7459,7 @@ static void vkd3d_dxbc_compiler_emit_f32tof16(struct vkd3d_dxbc_compiler *compil
scalar_type_id = vkd3d_spirv_get_type_id(builder, VKD3D_SHADER_COMPONENT_UINT, 1);
zero_id = vkd3d_dxbc_compiler_get_constant_float(compiler, 0.0f);
- /* FIXME: Consider a single PackHalf2x16 intruction per 2 components. */
+ /* FIXME: Consider a single PackHalf2x16 instruction per 2 components. */
assert(dst->write_mask & VKD3DSP_WRITEMASK_ALL);
for (i = 0, j = 0; i < VKD3D_VEC4_SIZE; ++i)
{
@@ -7802,7 +7802,7 @@ static int vkd3d_dxbc_compiler_emit_control_flow_instruction(struct vkd3d_dxbc_c
/* The OpSwitch instruction is inserted when the endswitch
* instruction is processed because we do not know the number
- * of case statments in advance.*/
+ * of case statements in advance.*/
vkd3d_spirv_begin_function_stream_insertion(builder, cf_info->u.switch_.stream_location);
vkd3d_spirv_build_op_switch(builder, cf_info->u.switch_.selector_id,
cf_info->u.switch_.default_block_id, cf_info->u.switch_.case_blocks,
Module: vkd3d
Branch: master
Commit: ab3855133d21ea79739e2c30ac3140c647b9fc6b
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=ab3855133d21ea79739e2c3…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Mon Mar 7 15:38:22 2022 +0100
announce: Fix a typo in the libvkd3d-shader new interfaces section.
Signed-off-by: Francois Gouget <fgouget(a)free.fr>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
ANNOUNCE | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ANNOUNCE b/ANNOUNCE
index 29a627fc..163e24d9 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -88,7 +88,7 @@ New interfaces:
Direct3D 12 and Vulkan binding models.
- The VKD3D_SHADER_COMPILE_OPTION_API_VERSION compile option can
be used to specify the version of the libvkd3d-shader API the
- application is targetting. If left unspecified,
+ application is targeting. If left unspecified,
VKD3D_SHADER_API_VERSION_1_2 will be used.
- Various shader translation fixes, for tessellation shaders in particular.