Module: vkd3d
Branch: master
Commit: b59ad01dd233223203465708507bc7d9fb90c12f
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=b59ad01dd23322320346570…
Author: Józef Kucia <jkucia(a)codeweavers.com>
Date: Tue May 29 12:50:29 2018 +0200
libs/vkd3d-shader: Implement SV_RenderTargetArrayIndex.
Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
libs/vkd3d-shader/spirv.c | 32 +++++---------------------------
1 file changed, 5 insertions(+), 27 deletions(-)
diff --git a/libs/vkd3d-shader/spirv.c b/libs/vkd3d-shader/spirv.c
index f4c9421..a59fdb6 100644
--- a/libs/vkd3d-shader/spirv.c
+++ b/libs/vkd3d-shader/spirv.c
@@ -2779,33 +2779,9 @@ static uint32_t vkd3d_spirv_front_facing_fixup(struct vkd3d_dxbc_compiler *compi
return vkd3d_dxbc_compiler_emit_bool_to_int(compiler, 1, front_facing_id);
}
-/* The Vulkan spec says:
- *
- * "The variable decorated with GlobalInvocationId must be declared as a
- * three-component vector of 32-bit integers."
- *
- * "The variable decorated with LocalInvocationId must be declared as a
- * three-component vector of 32-bit integers."
- *
- * "The variable decorated with WorkgroupId must be declared as a
- * three-component vector of 32-bit integers."
- *
- * "The variable decorated with FragCoord must be declared as a
- * four-component vector of 32-bit floating-point values."
- *
- * "The variable decorated with FragDepth must be declared as a scalar 32-bit
- * floating-point value."
- *
- * "Any variable decorated with Position must be declared as a four-component
- * vector of 32-bit floating-point values."
- *
- * "The variable decorated with VertexIndex must be declared as a scalar
- * 32-bit integer."
- *
- * "The variable decorated with InstanceIndex must be declared as a scalar
- * 32-bit integer."
- *
- * "The variable decorated with FrontFacing must be declared as a boolean."
+/*
+ * The following table is based on the "14.6. Built-In Variables" section from
+ * the Vulkan spec.
*/
static const struct vkd3d_spirv_builtin
{
@@ -2835,6 +2811,8 @@ vkd3d_spirv_builtin_table[] =
{VKD3D_SIV_VERTEX_ID, ~0u, VKD3D_TYPE_INT, 1, SpvBuiltInVertexIndex},
{VKD3D_SIV_INSTANCE_ID, ~0u, VKD3D_TYPE_INT, 1, SpvBuiltInInstanceIndex, vkd3d_spirv_instance_id_fixup},
+ {VKD3D_SIV_RENDER_TARGET_ARRAY_INDEX, ~0u, VKD3D_TYPE_INT, 1, SpvBuiltInLayer},
+
{VKD3D_SIV_IS_FRONT_FACE, ~0u, VKD3D_TYPE_BOOL, 1, SpvBuiltInFrontFacing, vkd3d_spirv_front_facing_fixup},
};
Module: tools
Branch: master
Commit: 4bf681b11dfafa2dd7f9f769e957d0fa5b6b43ec
URL: https://source.winehq.org/git/tools.git/?a=commit;h=4bf681b11dfafa2dd7f9f76…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Tue May 29 00:42:49 2018 +0200
testbot: Fix handling of test unit deletion + helper dll patch.
Take into account deleted test units when getting the full test unit
list.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/lib/WineTestBot/PatchUtils.pm | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/testbot/lib/WineTestBot/PatchUtils.pm b/testbot/lib/WineTestBot/PatchUtils.pm
index 8dde61b..2000c90 100644
--- a/testbot/lib/WineTestBot/PatchUtils.pm
+++ b/testbot/lib/WineTestBot/PatchUtils.pm
@@ -218,12 +218,7 @@ sub GetPatchImpact($;$)
# Helper dlls are not test units
next if (exists $TestInfo->{Files}->{"$Base.spec"});
- if ($AllUnits)
- {
- # All test units are impacted indirectly and must be rerun
- $TestInfo->{Units}->{$Base} = 1;
- }
- elsif ($TestInfo->{Files}->{$File} and
+ if (($AllUnits or $TestInfo->{Files}->{$File}) and
$TestInfo->{Files}->{$File} ne "rm")
{
# Only new/modified test units are impacted