Replace ddx/ddy functions from Pixellate.cg so it works on all GPUs. Thanks @hizzlekizzle