summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-04-16 02:32:24 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-04-16 02:32:57 +0200
commitef8245bed21dbe9b496f7d06b0e1eb487e553dbf (patch)
tree47968f8d7a1adfbcc7ea4967f3a93dbc12453e75 /src/video_core/renderer_vulkan
parentshader_ir/decode: Fix half float pre-operations and remove MetaHalfArithmetic (diff)
downloadyuzu-ef8245bed21dbe9b496f7d06b0e1eb487e553dbf.tar
yuzu-ef8245bed21dbe9b496f7d06b0e1eb487e553dbf.tar.gz
yuzu-ef8245bed21dbe9b496f7d06b0e1eb487e553dbf.tar.bz2
yuzu-ef8245bed21dbe9b496f7d06b0e1eb487e553dbf.tar.lz
yuzu-ef8245bed21dbe9b496f7d06b0e1eb487e553dbf.tar.xz
yuzu-ef8245bed21dbe9b496f7d06b0e1eb487e553dbf.tar.zst
yuzu-ef8245bed21dbe9b496f7d06b0e1eb487e553dbf.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_shader_decompiler.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
index beff33ba1..f50aae00d 100644
--- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
+++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
@@ -1266,6 +1266,13 @@ private:
&SPIRVDecompiler::Binary<&Module::OpFOrdGreaterThan, Type::Bool, Type::HalfFloat>,
&SPIRVDecompiler::Binary<&Module::OpFOrdNotEqual, Type::Bool, Type::HalfFloat>,
&SPIRVDecompiler::Binary<&Module::OpFOrdGreaterThanEqual, Type::Bool, Type::HalfFloat>,
+ // TODO(Rodrigo): Should these use the OpFUnord* variants?
+ &SPIRVDecompiler::Binary<&Module::OpFOrdLessThan, Type::Bool, Type::HalfFloat>,
+ &SPIRVDecompiler::Binary<&Module::OpFOrdEqual, Type::Bool, Type::HalfFloat>,
+ &SPIRVDecompiler::Binary<&Module::OpFOrdLessThanEqual, Type::Bool, Type::HalfFloat>,
+ &SPIRVDecompiler::Binary<&Module::OpFOrdGreaterThan, Type::Bool, Type::HalfFloat>,
+ &SPIRVDecompiler::Binary<&Module::OpFOrdNotEqual, Type::Bool, Type::HalfFloat>,
+ &SPIRVDecompiler::Binary<&Module::OpFOrdGreaterThanEqual, Type::Bool, Type::HalfFloat>,
&SPIRVDecompiler::Texture,
&SPIRVDecompiler::TextureLod,