diff options
| author | 2023-02-04 00:13:47 -0500 | |
|---|---|---|
| committer | 2023-02-04 00:13:47 -0500 | |
| commit | 4678f534638ebeb40b1fd56798c480ab5ab27059 (patch) | |
| tree | 2e4ba8a1c20b16b1d254d0f59c89715f44c4689a /src/shader_recompiler/frontend/ir/value.h | |
| parent | Merge pull request #9717 from german77/less_is_better (diff) | |
| download | yuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.tar.gz yuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.tar.xz yuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.zip | |
shader_recompiler/value.h: Remove lingering references to S32
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/value.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/shader_recompiler/frontend/ir/value.h b/src/shader_recompiler/frontend/ir/value.h index 22e89dd1b..c27546b0e 100644 --- a/src/shader_recompiler/frontend/ir/value.h +++ b/src/shader_recompiler/frontend/ir/value.h | |||
| @@ -43,7 +43,6 @@ public: | |||
| 43 | explicit Value(u8 value) noexcept; | 43 | explicit Value(u8 value) noexcept; |
| 44 | explicit Value(u16 value) noexcept; | 44 | explicit Value(u16 value) noexcept; |
| 45 | explicit Value(u32 value) noexcept; | 45 | explicit Value(u32 value) noexcept; |
| 46 | explicit Value(s32 value) noexcept; | ||
| 47 | explicit Value(f32 value) noexcept; | 46 | explicit Value(f32 value) noexcept; |
| 48 | explicit Value(u64 value) noexcept; | 47 | explicit Value(u64 value) noexcept; |
| 49 | explicit Value(f64 value) noexcept; | 48 | explicit Value(f64 value) noexcept; |
| @@ -66,7 +65,6 @@ public: | |||
| 66 | [[nodiscard]] u8 U8() const; | 65 | [[nodiscard]] u8 U8() const; |
| 67 | [[nodiscard]] u16 U16() const; | 66 | [[nodiscard]] u16 U16() const; |
| 68 | [[nodiscard]] u32 U32() const; | 67 | [[nodiscard]] u32 U32() const; |
| 69 | [[nodiscard]] s32 S32() const; | ||
| 70 | [[nodiscard]] f32 F32() const; | 68 | [[nodiscard]] f32 F32() const; |
| 71 | [[nodiscard]] u64 U64() const; | 69 | [[nodiscard]] u64 U64() const; |
| 72 | [[nodiscard]] f64 F64() const; | 70 | [[nodiscard]] f64 F64() const; |
| @@ -86,7 +84,6 @@ private: | |||
| 86 | u8 imm_u8; | 84 | u8 imm_u8; |
| 87 | u16 imm_u16; | 85 | u16 imm_u16; |
| 88 | u32 imm_u32; | 86 | u32 imm_u32; |
| 89 | s32 imm_s32; | ||
| 90 | f32 imm_f32; | 87 | f32 imm_f32; |
| 91 | u64 imm_u64; | 88 | u64 imm_u64; |
| 92 | f64 imm_f64; | 89 | f64 imm_f64; |
| @@ -378,14 +375,6 @@ inline u32 Value::U32() const { | |||
| 378 | return imm_u32; | 375 | return imm_u32; |
| 379 | } | 376 | } |
| 380 | 377 | ||
| 381 | inline s32 Value::S32() const { | ||
| 382 | if (IsIdentity()) { | ||
| 383 | return inst->Arg(0).S32(); | ||
| 384 | } | ||
| 385 | DEBUG_ASSERT(type == Type::S32); | ||
| 386 | return imm_s32; | ||
| 387 | } | ||
| 388 | |||
| 389 | inline f32 Value::F32() const { | 378 | inline f32 Value::F32() const { |
| 390 | if (IsIdentity()) { | 379 | if (IsIdentity()) { |
| 391 | return inst->Arg(0).F32(); | 380 | return inst->Arg(0).F32(); |