I just fired up your vertex shader in OSX Shaderbuilder and it runs fine. And it runs in GEM as well with a passthrough fragment shader. The only problem on the Mac so far is that it prints that the shader is running in hardware when it is clearly killing the CPU and software only.
I will try it on a PC now and post the results.
cgc