Sfoglia il codice sorgente

node_helper: add IBitfieldExtract case

Nguyen Dac Nam 6 anni fa
parent
commit
911c56ccef
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/video_core/shader/node_helper.cpp

+ 2 - 0
src/video_core/shader/node_helper.cpp

@@ -68,6 +68,8 @@ OperationCode SignedToUnsignedCode(OperationCode operation_code, bool is_signed)
         return OperationCode::UBitwiseXor;
         return OperationCode::UBitwiseXor;
     case OperationCode::IBitwiseNot:
     case OperationCode::IBitwiseNot:
         return OperationCode::UBitwiseNot;
         return OperationCode::UBitwiseNot;
+    case OperationCode::IBitfieldExtract:
+        return OperationCode::UBitfieldExtract;
     case OperationCode::IBitfieldInsert:
     case OperationCode::IBitfieldInsert:
         return OperationCode::UBitfieldInsert;
         return OperationCode::UBitfieldInsert;
     case OperationCode::IBitCount:
     case OperationCode::IBitCount: