mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
|
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
|
||
|
|