Hmm, just realized my current setup may not be ideal at all for testing this shader.
So first of all, I normally output to my TV at 1080p through my PC’s DisplayPort into a DP-to-HDMI passive adapter into an HDMI cable, since for whatever reason, if I try outputting 1080p through its HDMI port directly, it automatically wants to output at 120Hz for some reason, which requires setting the swap interval to 2 to correct for it, whereas through DisplayPort, it caps at 1080p@60Hz (it doesn’t even let me use 4K), and I just figured it was easier this way. If I want to use 4K, I have to switch to the HDMI port.
Well, I just found out a few things. First of all, the PC’s HDMI port is version 1.4, which maxes out at 1080p@120 or 4K@30, but DisplayPort is version 1.2, which apparently DOES support 4K@60, and… it turns out the cheap HDMI cable I’m using is version 1.4, and very likely the cheapo DP-to-HDMI adapter is also to blame for not having 4K available through DP. So perhaps this rig may be capable of 4K@60 and I’m just mucking it all up. Furthermore, I cannot discount that this may have something to do with some of the issues I’m having with this shader. As such, perhaps take my feedback with a grain of salt until I can get a proper cable and output through DisplayPort properly.