aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/program_header.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-03-18 15:55:46 -0400
committerLiam <byteslice@airmail.cc>2022-03-18 15:55:46 -0400
commit536d7ed7b1b42fcae94505318d9bbee30ae21222 (patch)
treedeb53749d9df1705dff41446b02219a7a557743c /src/shader_recompiler/program_header.h
parentd400b618a76ab0b08adfcb808ca8a8e336e1d573 (diff)
Address review comments
Diffstat (limited to 'src/shader_recompiler/program_header.h')
-rw-r--r--src/shader_recompiler/program_header.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/program_header.h b/src/shader_recompiler/program_header.h
index 5e42ab5a32..0cd6597efe 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 {