g3dvl: Use immediates in shaders where possible.