mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-06 15:22:32 -07:00
shader_ir: Add condition code helper
This commit is contained in:
@@ -672,6 +672,9 @@ private:
|
||||
/// Returns a predicate combiner operation
|
||||
OperationCode GetPredicateCombiner(Tegra::Shader::PredOperation operation);
|
||||
|
||||
/// Returns a condition code evaluated from internal flags
|
||||
Node GetConditionCode(Tegra::Shader::ConditionCode cc);
|
||||
|
||||
template <typename... T>
|
||||
inline Node Operation(OperationCode code, const T*... operands) {
|
||||
return StoreNode(OperationNode(code, operands...));
|
||||
|
Reference in New Issue
Block a user