This is more similar to the Vulkan shader pipeline and less magical. There are 3 places in our shader code where we perform fixups like this: - main.vs - depth_main.vs - post_process_getters.vs That last one needs no change since it does not involve Z.