Module: vkd3d Branch: master Commit: 5474d91804952d47d3ebe7bdea75e7b885d43e53 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/5474d91804952d47d3ebe7bdea75e7...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Sun Feb 11 19:14:00 2024 +0100
vkd3d-shader/fx: Write DepthStencilView types.
---
libs/vkd3d-shader/fx.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/libs/vkd3d-shader/fx.c b/libs/vkd3d-shader/fx.c index 93b76728..bc70d522 100644 --- a/libs/vkd3d-shader/fx.c +++ b/libs/vkd3d-shader/fx.c @@ -427,6 +427,7 @@ static uint32_t write_fx_4_type(const struct hlsl_type *type, struct fx_write_co static const uint32_t object_type[] = { [HLSL_TYPE_RENDERTARGETVIEW] = 19, + [HLSL_TYPE_DEPTHSTENCILVIEW] = 20, }; static const uint32_t texture_type[] = { @@ -454,6 +455,7 @@ static uint32_t write_fx_4_type(const struct hlsl_type *type, struct fx_write_co
switch (type->base_type) { + case HLSL_TYPE_DEPTHSTENCILVIEW: case HLSL_TYPE_RENDERTARGETVIEW: put_u32_unaligned(buffer, object_type[type->base_type]); break;