diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-29 16:51:14 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-29 16:51:14 -0300 |
| commit | 94a911d6191a8ddb67f360d76aa5cd7600fd9164 (patch) | |
| tree | 54062097312593d1396128bef4d7de3de5ea603e /src/video_core/shader/decode/arithmetic_integer.cpp | |
| parent | ec9f949bc84fb23c04b6e73d2aac3a579dd1a05e (diff) | |
texture_cache/surface_base: Fix out of bounds texture views
Some texture views were being created out of bounds (with more layers or
mipmaps than what the original texture has). This is because of a
miscalculation in mipmap bounding. end_layer and end_mipmap are out of
bounds (e.g. layer 6 in a cubemap), there's no need to add one more
there.
Fixes OpenGL errors and Vulkan crashes on Splatoon 2.
Diffstat (limited to 'src/video_core/shader/decode/arithmetic_integer.cpp')
0 files changed, 0 insertions, 0 deletions
