mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
Update src/shader_recompiler/ir/value.cpp
Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
This commit is contained in:
parent
7b1aae07ee
commit
e3ebc32032
@ -73,7 +73,7 @@ bool Value::operator==(const Value& other) const {
|
|||||||
case Type::F64:
|
case Type::F64:
|
||||||
return imm_u64 == other.imm_u64;
|
return imm_u64 == other.imm_u64;
|
||||||
case Type::StringLiteral:
|
case Type::StringLiteral:
|
||||||
return std::string(string_literal) == other.string_literal;
|
return std::string_view(string_literal) == other.string_literal;
|
||||||
case Type::U32x2:
|
case Type::U32x2:
|
||||||
case Type::U32x3:
|
case Type::U32x3:
|
||||||
case Type::U32x4:
|
case Type::U32x4:
|
||||||
|
Loading…
Reference in New Issue
Block a user