1
0
Fork 0
forked from suyu/suyu
suyu/src
ReinUsesLisp e22816a5bb texture_cache: Report incompatible textures as black
Some games bind incompatible texture types to certain types.
For example Astral Chain binds a 2D texture with 1 layer (non-array) to
a cubemap slot (that's how it's used in the shader). After testing this
in hardware, the expected "undefined behavior" is to report all pixels
as black.

We already have a path for reporting black textures in the texture
cache. When textures types are incompatible, this commit binds these
kind of textures. This is done on the API agnostic texture cache so no
extra code has to be inserted on OpenGL or Vulkan.

As a side effect, this fixes invalidations of ASTC textures on Astral
Chain. This happened because yuzu detected a cube texture and forced
6 faces, generating a texture larger than what the TIC reported.
2020-03-12 18:22:05 -03:00
..
audio_core cubeb_sink: Don't discard other channels when performing downmixing 2020-03-08 03:16:06 -04:00
common common/math_util: Support float type rectangles 2020-02-28 16:22:11 -03:00
core Merge pull request #3301 from ReinUsesLisp/state-tracker 2020-03-09 18:34:37 -03:00
input_common input/udp - Add minor error handling to prevent bad input from crashing 2020-03-03 23:46:05 -07:00
tests core/memory: Migrate over memory mapping functions to the new Memory class 2019-11-26 21:53:34 -05:00
video_core texture_cache: Report incompatible textures as black 2020-03-12 18:22:05 -03:00
web_service httplib compatibility 2020-02-18 18:04:33 -08:00
yuzu Merge pull request #3452 from Morph1984/anisotropic-filtering 2020-03-07 22:28:35 -05:00
yuzu_cmd Merge pull request #3452 from Morph1984/anisotropic-filtering 2020-03-07 22:28:35 -05:00
yuzu_tester Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels. 2020-02-27 21:34:00 -05:00
.clang-format
CMakeLists.txt CMake: Create thin archives on Linux 2020-01-19 12:52:09 +01:00