mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 18:45:45 +00:00
shader: Implement DADD
This commit is contained in:
parent
3c7ec88397
commit
832f1169d6
8 changed files with 132 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue