aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory/cheat_engine.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-11-06 22:43:02 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-11-22 21:28:47 -0300
commitb12a7dbace9c1d78318c6dca53853b18147e6c76 (patch)
tree623997e27be185a8b6f415ef1e749b823d98565a /src/core/memory/cheat_engine.cpp
parent77f86f48aca17189adecae7fd575815800bc8fd3 (diff)
shader/texture: Handle TLDS texture type mismatches
Some games like "Fire Emblem: Three Houses" bind 2D textures to offsets used by instructions of 1D textures. To handle the discrepancy this commit uses the the texture type from the binding and modifies the emitted code IR to build a valid backend expression. E.g.: Bound texture is 2D and instruction is 1D, the emitted IR samples a 2D texture in the coordinate ivec2(X, 0).
Diffstat (limited to 'src/core/memory/cheat_engine.cpp')
0 files changed, 0 insertions, 0 deletions