summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2023-02-04 06:13:47 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2023-02-04 06:13:47 +0100
commit4678f534638ebeb40b1fd56798c480ab5ab27059 (patch)
tree2e4ba8a1c20b16b1d254d0f59c89715f44c4689a /src/shader_recompiler
parentMerge pull request #9717 from german77/less_is_better (diff)
downloadyuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.tar
yuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.tar.gz
yuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.tar.bz2
yuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.tar.lz
yuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.tar.xz
yuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.tar.zst
yuzu-4678f534638ebeb40b1fd56798c480ab5ab27059.zip
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r--src/shader_recompiler/frontend/ir/value.h11
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:
explicit Value(u8 value) noexcept;
explicit Value(u16 value) noexcept;
explicit Value(u32 value) noexcept;
- explicit Value(s32 value) noexcept;
explicit Value(f32 value) noexcept;
explicit Value(u64 value) noexcept;
explicit Value(f64 value) noexcept;
@@ -66,7 +65,6 @@ public:
[[nodiscard]] u8 U8() const;
[[nodiscard]] u16 U16() const;
[[nodiscard]] u32 U32() const;
- [[nodiscard]] s32 S32() const;
[[nodiscard]] f32 F32() const;
[[nodiscard]] u64 U64() const;
[[nodiscard]] f64 F64() const;
@@ -86,7 +84,6 @@ private:
u8 imm_u8;
u16 imm_u16;
u32 imm_u32;
- s32 imm_s32;
f32 imm_f32;
u64 imm_u64;
f64 imm_f64;
@@ -378,14 +375,6 @@ inline u32 Value::U32() const {
return imm_u32;
}
-inline s32 Value::S32() const {
- if (IsIdentity()) {
- return inst->Arg(0).S32();
- }
- DEBUG_ASSERT(type == Type::S32);
- return imm_s32;
-}
-
inline f32 Value::F32() const {
if (IsIdentity()) {
return inst->Arg(0).F32();