summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv/emit_context.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-18 07:53:57 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:23 +0200
commit72990df7bad1c81d6ebc51179d34e1bfc71e0caf (patch)
treefd681d1875c91bd823841d8ca76138f729338526 /src/shader_recompiler/backend/spirv/emit_context.cpp
parentshader: Implement CSET and CSETP (diff)
downloadyuzu-72990df7bad1c81d6ebc51179d34e1bfc71e0caf.tar
yuzu-72990df7bad1c81d6ebc51179d34e1bfc71e0caf.tar.gz
yuzu-72990df7bad1c81d6ebc51179d34e1bfc71e0caf.tar.bz2
yuzu-72990df7bad1c81d6ebc51179d34e1bfc71e0caf.tar.lz
yuzu-72990df7bad1c81d6ebc51179d34e1bfc71e0caf.tar.xz
yuzu-72990df7bad1c81d6ebc51179d34e1bfc71e0caf.tar.zst
yuzu-72990df7bad1c81d6ebc51179d34e1bfc71e0caf.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_context.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.cpp b/src/shader_recompiler/backend/spirv/emit_context.cpp
index f848c6175..204389d74 100644
--- a/src/shader_recompiler/backend/spirv/emit_context.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_context.cpp
@@ -94,6 +94,8 @@ Id EmitContext::Def(const IR::Value& value) {
return Constant(U32[1], value.U32());
case IR::Type::F32:
return Constant(F32[1], value.F32());
+ case IR::Type::F64:
+ return Constant(F64[1], value.F64());
default:
throw NotImplementedException("Immediate type {}", value.Type());
}