summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/program_header.h
diff options
context:
space:
mode:
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 5e42ab5a3..0cd6597ef 100644
--- a/src/shader_recompiler/program_header.h
+++ b/src/shader_recompiler/program_header.h
@@ -198,7 +198,7 @@ struct ProgramHeader {
198 198
199 [[nodiscard]] bool HasOutputComponents(u32 rt) const noexcept { 199 [[nodiscard]] bool HasOutputComponents(u32 rt) const noexcept {
200 const u32 bits{omap.target >> (rt * 4)}; 200 const u32 bits{omap.target >> (rt * 4)};
201 return bits & (1 | 2 | 4 | 8); 201 return (bits & 0xf) != 0;
202 } 202 }
203 203
204 [[nodiscard]] std::array<PixelImap, 4> GenericInputMap(u32 attribute) const { 204 [[nodiscard]] std::array<PixelImap, 4> GenericInputMap(u32 attribute) const {