diff options
| author | 2021-02-02 21:07:00 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:21 -0400 | |
| commit | 6c4cc0cd062fbbba5349da1108d3c23cb330ca8a (patch) | |
| tree | 544291931da8a85fafcea71964c77d9278ec7f29 /src/shader_recompiler/frontend/ir/value.h | |
| parent | shader: Initial recompiler work (diff) | |
| download | yuzu-6c4cc0cd062fbbba5349da1108d3c23cb330ca8a.tar.gz yuzu-6c4cc0cd062fbbba5349da1108d3c23cb330ca8a.tar.xz yuzu-6c4cc0cd062fbbba5349da1108d3c23cb330ca8a.zip | |
shader: SSA and dominance
Diffstat (limited to 'src/shader_recompiler/frontend/ir/value.h')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/value.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/value.h b/src/shader_recompiler/frontend/ir/value.h index 664dacf9d..368119921 100644 --- a/src/shader_recompiler/frontend/ir/value.h +++ b/src/shader_recompiler/frontend/ir/value.h | |||
| @@ -48,6 +48,9 @@ public: | |||
| 48 | [[nodiscard]] u32 U32() const; | 48 | [[nodiscard]] u32 U32() const; |
| 49 | [[nodiscard]] u64 U64() const; | 49 | [[nodiscard]] u64 U64() const; |
| 50 | 50 | ||
| 51 | [[nodiscard]] bool operator==(const Value& other) const; | ||
| 52 | [[nodiscard]] bool operator!=(const Value& other) const; | ||
| 53 | |||
| 51 | private: | 54 | private: |
| 52 | void ValidateAccess(IR::Type expected) const; | 55 | void ValidateAccess(IR::Type expected) const; |
| 53 | 56 | ||