On Thu Aug 31 08:35:24 2023 +0000, Matteo Bruni wrote:
Listing the new compilation errors for these shaders for reference:
<pre> vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:3:26: E5017: Aborting due to not yet implemented feature: SM1 non-float expression. vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:3:1: E5017: Aborting due to not yet implemented feature: Instruction type HLSL_IR_IF. hlsl_d3d9.c:561: <anonymous>:3:26: E5017: Aborting due to not yet implemented feature: SM1 non-float expression. vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:3:18: E5017: Aborting due to not yet implemented feature: SM1 non-float expression. vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:3:18: E5017: Aborting due to not yet implemented feature: Instruction type HLSL_IR_IF. hlsl_d3d9.c:585: <anonymous>:3:18: E5017: Aborting due to not yet implemented feature: SM1 non-float expression. vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:5:21: E5017: Aborting due to not yet implemented feature: SM1 non-float expression. vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:5:19: E5017: Aborting due to not yet implemented feature: SM1 non-float expression. vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:5:19: E5017: Aborting due to not yet implemented feature: SM1 "cast" expression. hlsl_d3d9.c:659: Test failed: Failed to compile shader, hr 0x80004001. vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:4:21: E5017: Aborting due to not yet implemented feature: SM1 "sin" expression. vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:5:21: E5017: Aborting due to not yet implemented feature: SM1 "cos" expression. hlsl_d3d9.c:702: Test failed: Failed to compile shader, hr 0x80004001. vkd3d:0124:trace:vkd3d_shader_compile <anonymous>:1:9: E5017: Aborting due to not yet implemented feature: Generic samplers need to be lowered. hlsl_d3d9.c:1174: Test failed: Failed to compile shader, hr 0x80004001. </pre>
The last one refers to the last two shaders in test_samplers() which use separate sampler and texture via the newer t.Sample() syntax.
Here's the fixup for the shader compilation failures [0001-d3dcompiler-tests-Reintroduce-a-few-todo_wine.txt](/uploads/2958da7c60dff88bd0bfccd39705131a/0001-d3dcompiler-tests-Reintroduce-a-few-todo_wine.txt)