summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-05-10 19:32:10 -0300
committerGravatar ameerj2021-07-22 21:51:31 -0400
commit8c81a20ace8c65d0a9d58b9cf333049a2bc0383a (patch)
tree86c653e99c02225f7ed5ee93b42d272b11404a93 /src/shader_recompiler/frontend
parentglasm: Enable unintentionally disabled register aliasing on GLASM (diff)
downloadyuzu-8c81a20ace8c65d0a9d58b9cf333049a2bc0383a.tar.gz
yuzu-8c81a20ace8c65d0a9d58b9cf333049a2bc0383a.tar.xz
yuzu-8c81a20ace8c65d0a9d58b9cf333049a2bc0383a.zip
glasm: Ensure reg alloc order across compilers on GLASM
Use a struct constructor to serialize register allocation arguments to ensure registers are allocated in the same order regardless of the compiler used. The A and B functions can be called in any order when passed as arguments to "foo": foo(A(), B()) But the order is guaranteed for curly-braced constructor calls in classes: Foo{A(), B()} Use this to get consistent behavior.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions