diff options
author | Liam <byteslice@airmail.cc> | 2022-03-18 20:55:46 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-03-18 20:55:46 +0100 |
commit | 536d7ed7b1b42fcae94505318d9bbee30ae21222 (patch) | |
tree | deb53749d9df1705dff41446b02219a7a557743c /src/shader_recompiler | |
parent | shader_recompiler/EXIT: skip render targets with no outputs (diff) | |
download | yuzu-536d7ed7b1b42fcae94505318d9bbee30ae21222.tar yuzu-536d7ed7b1b42fcae94505318d9bbee30ae21222.tar.gz yuzu-536d7ed7b1b42fcae94505318d9bbee30ae21222.tar.bz2 yuzu-536d7ed7b1b42fcae94505318d9bbee30ae21222.tar.lz yuzu-536d7ed7b1b42fcae94505318d9bbee30ae21222.tar.xz yuzu-536d7ed7b1b42fcae94505318d9bbee30ae21222.tar.zst yuzu-536d7ed7b1b42fcae94505318d9bbee30ae21222.zip |
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r-- | src/shader_recompiler/program_header.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/program_header.h b/src/shader_recompiler/program_header.h index 5e42ab5a3..0cd6597ef 100644 --- a/src/shader_recompiler/program_header.h +++ b/src/shader_recompiler/program_header.h @@ -198,7 +198,7 @@ struct ProgramHeader { [[nodiscard]] bool HasOutputComponents(u32 rt) const noexcept { const u32 bits{omap.target >> (rt * 4)}; - return bits & (1 | 2 | 4 | 8); + return (bits & 0xf) != 0; } [[nodiscard]] std::array<PixelImap, 4> GenericInputMap(u32 attribute) const { |