diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-24 22:16:49 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-24 22:21:29 -0300 |
commit | 527a1574c3f1262a6b6b010fa8234a701b299609 (patch) | |
tree | e4a8e9ca4ff1801011dadfaca5293a3fdc65e608 /src/video_core/gpu.cpp | |
parent | 3e35101895aed4e0cf2be3f90459fbad6e417203 (diff) |
vk_rasterizer: Pack texceptions and color formats on invalid formats
Sometimes for unknown reasons NVN games can bind a render target format
of 0. This may be a yuzu bug.
With the commits before this the formats were specified without being
"packed", assuming all formats and texceptions will be written like in
the color_attachments vector.
To address this issue, iterate all render targets and pack them as they
are valid. This way they will match color_attachments.
- Fixes validation errors and graphical issues on Breath of the Wild.
Diffstat (limited to 'src/video_core/gpu.cpp')
0 files changed, 0 insertions, 0 deletions