mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 04:17:56 -05:00
shader: Implement DADD
This commit is contained in:
@ -153,6 +153,14 @@ u64 Value::U64() const {
|
||||
return imm_u64;
|
||||
}
|
||||
|
||||
f64 Value::F64() const {
|
||||
if (IsIdentity()) {
|
||||
return inst->Arg(0).F64();
|
||||
}
|
||||
ValidateAccess(Type::F64);
|
||||
return imm_f64;
|
||||
}
|
||||
|
||||
bool Value::operator==(const Value& other) const {
|
||||
if (type != other.type) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user