You can try the following:
Code
mame -video bgfx -bgfx_screen_chains hlsl

or set the two options in mame.ini if you don't want to type them in every time.