https://github.com/durga4github commented: I did not spend time on the surface/texture items but other changes LGTM. Splitting the refactor and style-changes into separate PRs would be really helpful ;-) https://github.com/llvm/llvm-project/pull/153436