summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-11-06 22:43:02 -0300
committerGravatar ReinUsesLisp2019-11-22 21:28:47 -0300
commitdc9961f341be64dcbc13097d4eb7b95db45f9fb9 (patch)
tree623997e27be185a8b6f415ef1e749b823d98565a /src/core/hle/kernel/kernel.cpp
parentshader/texture: Deduce texture buffers from locker (diff)
downloadyuzu-dc9961f341be64dcbc13097d4eb7b95db45f9fb9.tar.gz
yuzu-dc9961f341be64dcbc13097d4eb7b95db45f9fb9.tar.xz
yuzu-dc9961f341be64dcbc13097d4eb7b95db45f9fb9.zip
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/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions