summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glsl/var_alloc.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-11 06:41:28 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:38 +0200
commit7d89a82a4891f78e2c068a24ad3bb56d74c92055 (patch)
treedb21e0994cfd729d7deeaf47eb300d1109539861 /src/shader_recompiler/backend/glsl/var_alloc.cpp
parentglsl: Address Rodrigo's feedback (diff)
downloadyuzu-7d89a82a4891f78e2c068a24ad3bb56d74c92055.tar
yuzu-7d89a82a4891f78e2c068a24ad3bb56d74c92055.tar.gz
yuzu-7d89a82a4891f78e2c068a24ad3bb56d74c92055.tar.bz2
yuzu-7d89a82a4891f78e2c068a24ad3bb56d74c92055.tar.lz
yuzu-7d89a82a4891f78e2c068a24ad3bb56d74c92055.tar.xz
yuzu-7d89a82a4891f78e2c068a24ad3bb56d74c92055.tar.zst
yuzu-7d89a82a4891f78e2c068a24ad3bb56d74c92055.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/backend/glsl/var_alloc.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/shader_recompiler/backend/glsl/var_alloc.cpp b/src/shader_recompiler/backend/glsl/var_alloc.cpp
index 6a19aa549..cbf56491c 100644
--- a/src/shader_recompiler/backend/glsl/var_alloc.cpp
+++ b/src/shader_recompiler/backend/glsl/var_alloc.cpp
@@ -21,12 +21,8 @@ std::string TypePrefix(GlslVarType type) {
return "f16x2_";
case GlslVarType::U32:
return "u_";
- case GlslVarType::S32:
- return "s_";
case GlslVarType::F32:
return "f_";
- case GlslVarType::S64:
- return "s64_";
case GlslVarType::U64:
return "u64_";
case GlslVarType::F64:
@@ -213,13 +209,9 @@ std::string VarAlloc::GetGlslType(GlslVarType type) const {
return "f16vec2";
case GlslVarType::U32:
return "uint";
- case GlslVarType::S32:
- return "int";
case GlslVarType::F32:
case GlslVarType::PrecF32:
return "float";
- case GlslVarType::S64:
- return "int64_t";
case GlslVarType::U64:
return "uint64_t";
case GlslVarType::F64:
@@ -252,12 +244,8 @@ VarAlloc::UseTracker& VarAlloc::GetUseTracker(GlslVarType type) {
return var_f16x2;
case GlslVarType::U32:
return var_u32;
- case GlslVarType::S32:
- return var_s32;
case GlslVarType::F32:
return var_f32;
- case GlslVarType::S64:
- return var_s64;
case GlslVarType::U64:
return var_u64;
case GlslVarType::F64:
@@ -291,12 +279,8 @@ const VarAlloc::UseTracker& VarAlloc::GetUseTracker(GlslVarType type) const {
return var_f16x2;
case GlslVarType::U32:
return var_u32;
- case GlslVarType::S32:
- return var_s32;
case GlslVarType::F32:
return var_f32;
- case GlslVarType::S64:
- return var_s64;
case GlslVarType::U64:
return var_u64;
case GlslVarType::F64: