GPU performance question: is there any way in a fragment shader (or equivalent) to if() around a multisampled texture read based on whether or not the texture actually had multiple samples at that location? For high MSAA (16x) render targets, the blending takes a long time...
Yes, but since most pixels aren't multisampled, you still have a high chance of getting all zeroes in the warp and skipping the high-cost code.