diff options
| author | TellowKrinkle <tellowkrinkle@gmail.com> | 2022-06-12 21:31:16 -0500 |
|---|---|---|
| committer | TellowKrinkle <tellowkrinkle@gmail.com> | 2022-06-14 00:48:47 -0500 |
| commit | 25929789c1e80d7a22d6acdb14082bc44e4fb0e9 (patch) | |
| tree | 8dc9160062dde3ef0bcb018bcc7b4006df42bd8d /Source/Core/VideoCommon/ShaderCache.cpp | |
| parent | db6e928c8d4dab785cb7ea2c04e8f03325badc8d (diff) | |
VideoCommon: Don't pass State by inout
Spirv-cross's MSL codegen makes the amazing choice of compiling calls to inout functions as `State temp = s; call_function(temp); s = temp`. Not all Metal backends handle this mess well. In particular, it causes register spills on Intel, losing about 5% in performance.
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions
