Broken custom shaders in Lime >=2.8.0 and OpenFL >=3.5.0

I’ve described the bug in detail here https://github.com/openfl/openfl/issues/960

I’ve been trying to fix it myself for a couple of days now, but my knowledge of openfl/lime inner workings is still very vague…

I’ve tracked it to openfl.filters.BitmapFilter.__applyFilters and later to BitmapData.__drawGL and still despite both being called the same in working (3.4.0+2.7.0) and non-working (3.5.0+2.8.0) configurations - the shader is not applied.

Any help/tips/guidance would be greatly appreciated! :slight_smile: