Francisco Casas : tests: Make ddx() and ddy() test behave correctly for shader models < 4.