summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glasm/emit_glasm.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-15 23:15:13 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:31 +0200
commit31d402ee74d7f7045aec7e748fdee489a434db6b (patch)
tree2cc89d8b24d856e2af92be0a1a1948329b92dd01 /src/shader_recompiler/backend/glasm/emit_glasm.cpp
parentglasm: Add graphics specific shader declarations to GLASM (diff)
downloadyuzu-31d402ee74d7f7045aec7e748fdee489a434db6b.tar
yuzu-31d402ee74d7f7045aec7e748fdee489a434db6b.tar.gz
yuzu-31d402ee74d7f7045aec7e748fdee489a434db6b.tar.bz2
yuzu-31d402ee74d7f7045aec7e748fdee489a434db6b.tar.lz
yuzu-31d402ee74d7f7045aec7e748fdee489a434db6b.tar.xz
yuzu-31d402ee74d7f7045aec7e748fdee489a434db6b.tar.zst
yuzu-31d402ee74d7f7045aec7e748fdee489a434db6b.zip
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cpp
index ab6790ce8..e5c96eb7f 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp
@@ -54,6 +54,7 @@ public:
}
switch (value.type) {
case Type::Register:
+ case Type::Void:
break;
case Type::U32:
ctx.Add("MOV.U {}.x,{};", reg, value.imm_u32);