Updated vkd3d patchset

This commit is contained in:
Alistair Leslie-Hughes 2023-07-11 09:11:55 +10:00
parent df9ad11eef
commit e5cf862a14
3 changed files with 33 additions and 4 deletions

View File

@ -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 <leslie_alistair@hotmail.com>
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)
---

View File

@ -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 <leslie_alistair@hotmail.com>
Date: Wed, 28 Jun 2023 16:27:03 +1000
Subject: [PATCH 2/2] Updated vkd3d to
Subject: [PATCH 2/3] Updated vkd3d to
2a3413e0f01524f2068bce12100906eb2200c965.
---

View File

@ -0,0 +1,29 @@
From a1cfa7f60bd15cc0f6df8ecddfb05204d64ef60e Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
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