It's used quite often - would be a small performance win to provide this as a CPU value to the shaders. See https://github.com/servo/webrender/pull/3150 for more information.