Explorar o código

Address review comments

Liam %!s(int64=4) %!d(string=hai) anos
pai
achega
536d7ed7b1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/shader_recompiler/program_header.h

+ 1 - 1
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 {