shader_recompiler: Add s64 type in constant propagation

This commit is contained in:
Vinicius Rangel 2024-07-26 10:31:23 -03:00
parent 7e0e99e21d
commit 88a8cf4445
No known key found for this signature in database
GPG key ID: A5B154D904B761D9

View file

@ -21,6 +21,8 @@ template <typename T>
return value.F32();
} else if constexpr (std::is_same_v<T, u64>) {
return value.U64();
} else if constexpr (std::is_same_v<T, s64>) {
return static_cast<s64>(value.U64());
}
}