diff --git a/patches/vkd3d-latest/0001-Update-vkd3d-to-771e442af16228a977eebba82224f06f6d02.patch b/patches/vkd3d-latest/0001-Update-vkd3d-to-771e442af16228a977eebba82224f06f6d02.patch index c055c6d5..de395956 100644 --- a/patches/vkd3d-latest/0001-Update-vkd3d-to-771e442af16228a977eebba82224f06f6d02.patch +++ b/patches/vkd3d-latest/0001-Update-vkd3d-to-771e442af16228a977eebba82224f06f6d02.patch @@ -1,7 +1,7 @@ -From b6a857d94b7957b4cb3902de424e637764ca2851 Mon Sep 17 00:00:00 2001 +From 32b3870975bb6f3f08ea8722a7c500275c98864a Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 17 May 2023 08:35:40 +1000 -Subject: [PATCH 1/2] Update vkd3d to 771e442af16228a977eebba82224f06f6d0202fe +Subject: [PATCH 1/3] Update vkd3d to 771e442af16228a977eebba82224f06f6d0202fe (1.8) --- diff --git a/patches/vkd3d-latest/0002-Updated-vkd3d-to-2a3413e0f01524f2068bce12100906eb220.patch b/patches/vkd3d-latest/0002-Updated-vkd3d-to-2a3413e0f01524f2068bce12100906eb220.patch index 5a460b60..77ed553f 100644 --- a/patches/vkd3d-latest/0002-Updated-vkd3d-to-2a3413e0f01524f2068bce12100906eb220.patch +++ b/patches/vkd3d-latest/0002-Updated-vkd3d-to-2a3413e0f01524f2068bce12100906eb220.patch @@ -1,7 +1,7 @@ -From 7bc54927391a36890539a83febc49679486a8bc9 Mon Sep 17 00:00:00 2001 +From 950b3671fefac301c6346f2b1067070eeb46b2ac Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 28 Jun 2023 16:27:03 +1000 -Subject: [PATCH 2/2] Updated vkd3d to +Subject: [PATCH 2/3] Updated vkd3d to 2a3413e0f01524f2068bce12100906eb2200c965. --- diff --git a/patches/vkd3d-latest/0003-Updated-vkd3d-to-d4d960cb8b4f503ce3de51d9f29267ca938.patch b/patches/vkd3d-latest/0003-Updated-vkd3d-to-d4d960cb8b4f503ce3de51d9f29267ca938.patch new file mode 100644 index 00000000..21942f0b --- /dev/null +++ b/patches/vkd3d-latest/0003-Updated-vkd3d-to-d4d960cb8b4f503ce3de51d9f29267ca938.patch @@ -0,0 +1,29 @@ +From a1cfa7f60bd15cc0f6df8ecddfb05204d64ef60e Mon Sep 17 00:00:00 2001 +From: Alistair Leslie-Hughes +Date: Tue, 11 Jul 2023 09:11:10 +1000 +Subject: [PATCH 3/3] Updated vkd3d to + d4d960cb8b4f503ce3de51d9f29267ca938f3183. + +--- + libs/vkd3d/libs/vkd3d-shader/spirv.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/libs/vkd3d/libs/vkd3d-shader/spirv.c b/libs/vkd3d/libs/vkd3d-shader/spirv.c +index 5535a6503d6..9725a5c7e25 100644 +--- a/libs/vkd3d/libs/vkd3d-shader/spirv.c ++++ b/libs/vkd3d/libs/vkd3d-shader/spirv.c +@@ -3998,6 +3998,11 @@ static void spirv_compiler_emit_interpolation_decorations(struct spirv_compiler + vkd3d_spirv_enable_capability(builder, SpvCapabilitySampleRateShading); + vkd3d_spirv_build_op_decorate(builder, id, SpvDecorationSample, NULL, 0); + break; ++ case VKD3DSIM_LINEAR_NOPERSPECTIVE_SAMPLE: ++ vkd3d_spirv_build_op_decorate(builder, id, SpvDecorationNoPerspective, NULL, 0); ++ vkd3d_spirv_enable_capability(builder, SpvCapabilitySampleRateShading); ++ vkd3d_spirv_build_op_decorate(builder, id, SpvDecorationSample, NULL, 0); ++ break; + default: + FIXME("Unhandled interpolation mode %#x.\n", mode); + break; +-- +2.40.1 +