On Tue Dec 6 16:19:46 2022 +0000, Giovanni Mascellani wrote:
Running the latest tests on native `d3dcompiler_47.dll` (which `wrestool -x --raw --type=16` describes as version "10.0.15063.674 (WinBuild.160101.0800)"), there are still a couple of failures in `hlsl-static-initializer.shader_test`:
shader_runner:65:Section [test], line 95: Test failed: Failed to compile shader, hr 0x80004001. shader_runner:69:Section [test], line 95: Z:\home\giovanni\progetti\windows\wine\build64\Shader@0x00000000022B60F0(5,12-34): error X4532: cannot map expression to pixel shader instruction set shader_runner:65:Section [test], line 111: Test failed: Failed to compile shader, hr 0x80004001. shader_runner:69:Section [test], line 111: Z:\home\giovanni\progetti\windows\wine\build64\Shader@0x00000000022B61F0(6,12-34): error X4532: cannot map expression to pixel shader instruction set
I am not really sure of what the error message really means. Maybe in this case it makes sense to just pretend that native is buggy and ignore it, but let's at least have a chance to discuss that.
I have seen that error when the shader is compiled using a target profile that doesn't have the required features. Which target profile are you using to compile? I am using ps_5_0.