From 536d7ed7b1b42fcae94505318d9bbee30ae21222 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 18 Mar 2022 15:55:46 -0400 Subject: Address review comments --- src/shader_recompiler/program_header.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 GenericInputMap(u32 attribute) const { -- cgit v1.2.3