diff --git a/libs/vkd3d-shader/fx.c b/libs/vkd3d-shader/fx.c index a467c236..9acb1f79 100644 --- a/libs/vkd3d-shader/fx.c +++ b/libs/vkd3d-shader/fx.c @@ -536,6 +536,12 @@ static uint32_t write_fx_4_type(const struct hlsl_type *type, struct fx_write_co put_u32_unaligned(buffer, field->offset); put_u32_unaligned(buffer, field->type); } + + if (ctx->profile->major_version == 5) + { + put_u32_unaligned(buffer, 0); /* Base class type */ + put_u32_unaligned(buffer, 0); /* Interface count */ + } } else if (type->class == HLSL_CLASS_TEXTURE) {