> Basically any shader I set for bgfx_screen_chains, e.g. xbr-hybrid or hq4x, etc, all
> just display a garbled image. Ranging from slightly fuzzy text (or entire screen) to
> the entire screen just being coloured squares.
> Here are a few examples of said shaders when loading up 1944 -
> The same shaders work fine in RetroArch and PPSSPP so it shouldn't be hardware
> related. For reference, the GPU in use is a Nvidia GTX 1060 on driver 381.22.
> Any ideas what's causing this?
I wouldn't really pay much mind to what uman has to say, he's not the guy who wrote the code, and he's not even particularly technically inclined. In fact the shaders are direct ports of the RA shaders, and should be functionally identical. The only differences should largely be syntactical, as the stock RA shaders don't seem to compile correctly under WebGL, which has a pretty minimal subset of GLSL available.
I have a pretty good idea as to what might be causing the issue, though. I'll see if I can reproduce the behavior in Windows using BGFX and the OpenGL backend. If you're the guy who posted about this on Reddit, I believe I explained there that it's likely due to the half-texel offset between DirectX 9 and OpenGL. It might not be working correctly at the moment on the OpenGL backend, so I'll try to kick it into working.