-
Niklas Haas authored
This also includes logic to prefer flipping in the dst_rect rather than the src_rect, because this will avoid running into issues when using compute shaders for upscale. (It's still possible that we need to mediate the dst_rect via an indirect pass at the end of the rendering chain, but that's a separate concern) As an aside, fix PL_SWAP to actually generate valid code