2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Address review comments

This commit is contained in:
Liam 2022-03-18 15:55:46 -04:00
parent d400b618a7
commit 536d7ed7b1

View file

@ -198,7 +198,7 @@ struct ProgramHeader {
[[nodiscard]] bool HasOutputComponents(u32 rt) const noexcept { [[nodiscard]] bool HasOutputComponents(u32 rt) const noexcept {
const u32 bits{omap.target >> (rt * 4)}; 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 { [[nodiscard]] std::array<PixelImap, 4> GenericInputMap(u32 attribute) const {