2023-07-21 17:12:24 -07:00
|
|
|
From 4f0d4cfe7cfe53c49aadb4b04ed852dc66d8ea2c Mon Sep 17 00:00:00 2001
|
2023-07-10 16:11:55 -07:00
|
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
|
|
Date: Tue, 11 Jul 2023 09:11:10 +1000
|
2023-07-21 17:12:24 -07:00
|
|
|
Subject: [PATCH] Updated vkd3d to d4d960cb8b4f503ce3de51d9f29267ca938f3183.
|
2023-07-10 16:11:55 -07:00
|
|
|
|
|
|
|
---
|
|
|
|
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
|
|
|
|
|