The case of the curiously slow shader

made by Raph, submitted by davidbalbert
Raph investigates an issue with a slow shader, which ends up being caused by the shader compiler being overly conservative about cache coherency.