One of my Black Friday purchases was a new PC for my Mame cabinet. It (unfortunately) came with Windows 8.1. I have everything working fine other than when I try to enable HLSL. When I do that, Mame crashes on launch with the following error:
Unable to compile shader: hlsl\yiq_decode.fx(133,3): error X6077: texld/texldb/t
exldp/dsx/dsy instructions with r# as source cannot be used inside dynamic condi
tional 'if' blocks, dynamic conditional subroutine calls, or loop/rep with break
*.
ID3DXEffectCompiler: Compilation failed
I tried both Mame 0.152 and 0.156 and both of them have the construct in the yiq_decode.fx source file that is causing the problem. Is this a compatibility issue between Mame and the latest DirectX? Has anyone else seen this before?