On Mon Oct 16 16:51:44 2023 +0000, Henri Verbeet wrote:
```diff + /** + * Causes compiler to convert SM1-3 semantics to corresponding
System Value semantics,
+ * when compiled for SM4+ targets. ``` It may be worth pointing out that this option applies to HLSL sources. ```diff + " --semantic-compat-map Enable semantic mapping compatibility mode to use SM4+ system values\n" + " instead of SM1-3 style semantic names.\n" ``` Likewise. ```diff + if (compat_options) + add_compile_option(options, VKD3D_SHADER_COMPILE_OPTION_BACKWARD_COMPATIBILITY, compat_options); ``` I think this requires bumping MAX_COMPILE_OPTIONS. We're probably also starting to reach the point where it makes more sense to dynamically allocate the "compile_options" array though. Thanks, pushed a separate commit for that.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/381#note_48818