set syntax rules for hlsl and glsl