summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nguyen Dac Nam2020-03-13 12:50:32 +0700
committerGravatar GitHub2020-03-13 12:50:32 +0700
commit911c56ccef5ea9ce2cad6f92adff0b575b2a9bc6 (patch)
tree9b12f4513c791cba442bcf452b82b103aef5969d
parentshader_decode: Reimplement BFE instructions (diff)
downloadyuzu-911c56ccef5ea9ce2cad6f92adff0b575b2a9bc6.tar.gz
yuzu-911c56ccef5ea9ce2cad6f92adff0b575b2a9bc6.tar.xz
yuzu-911c56ccef5ea9ce2cad6f92adff0b575b2a9bc6.zip
node_helper: add IBitfieldExtract case
-rw-r--r--src/video_core/shader/node_helper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/node_helper.cpp b/src/video_core/shader/node_helper.cpp
index b3dcd291c..76c56abb5 100644
--- a/src/video_core/shader/node_helper.cpp
+++ b/src/video_core/shader/node_helper.cpp
@@ -68,6 +68,8 @@ OperationCode SignedToUnsignedCode(OperationCode operation_code, bool is_signed)
68 return OperationCode::UBitwiseXor; 68 return OperationCode::UBitwiseXor;
69 case OperationCode::IBitwiseNot: 69 case OperationCode::IBitwiseNot:
70 return OperationCode::UBitwiseNot; 70 return OperationCode::UBitwiseNot;
71 case OperationCode::IBitfieldExtract:
72 return OperationCode::UBitfieldExtract;
71 case OperationCode::IBitfieldInsert: 73 case OperationCode::IBitfieldInsert:
72 return OperationCode::UBitfieldInsert; 74 return OperationCode::UBitfieldInsert;
73 case OperationCode::IBitCount: 75 case OperationCode::IBitCount: