Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vulkan: Declare gl_Position as invariant. See #11583
The code that computes shader outputs declared as invariant gets certain optimizations disabled that could change the value - it makes it more likely that different ways to do the same calculations end up with the same value. This can help some types of Z fighting problems and similar. Generally not a big deal for performance, plus, we're rarely vshader-bottlenecked...
- Loading branch information