Changes after review

`UniformState.resolutionScale` should be read-only.