Nikolay Sivov (@nsivov) commented about dlls/mfmediaengine/tests/mfmediaengine.c:
+static void test_playback_on_d3d_device(void) +{
- static const char ps_input[] = "Texture2D<float4> tex : register(t0);\n"
"SamplerState smp : register(s0);\n""\n"//"float4 main(in float4 p : SV_POSITION, in float2 texcoord : TEX_COORD) : SV_TARGET {\n""float4 main(in float2 texcoord : TEX_COORD) : SV_TARGET {\n""texcoord.y = 1 - texcoord.y;\n" /* We get the image horizontally flipped so we transform it back. */"return tex.Sample(smp, texcoord);\n""}";- static const char vs_input[] = "float4 main(out float2 texcoord : TEX_COORD, in uint vid : SV_VERTEXID) : SV_POSITION {\n"
"texcoord = float2(float(vid & 1) * 2.0f, float(vid & 2));\n""return float4(-1.0f + 2.0f * texcoord, 0.0f, 1.0f);\n""}";
We usually put precompiled shaders in such cases. Is current wine capable to compile this? What about missing compiler library on Windows?