diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-01-07 23:56:03 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2020-01-24 21:44:47 +0100 |
commit | 37b8504faaeca9aaffd67649f5a026a900743431 (patch) | |
tree | 6b92c328c00c28a4afde867236084d59d78e0bae /src/video_core/renderer_vulkan/vk_shader_decompiler.cpp | |
parent | Shader_IR: Propagate bindless index into the GL compiler. (diff) | |
download | yuzu-37b8504faaeca9aaffd67649f5a026a900743431.tar yuzu-37b8504faaeca9aaffd67649f5a026a900743431.tar.gz yuzu-37b8504faaeca9aaffd67649f5a026a900743431.tar.bz2 yuzu-37b8504faaeca9aaffd67649f5a026a900743431.tar.lz yuzu-37b8504faaeca9aaffd67649f5a026a900743431.tar.xz yuzu-37b8504faaeca9aaffd67649f5a026a900743431.tar.zst yuzu-37b8504faaeca9aaffd67649f5a026a900743431.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_shader_decompiler.cpp | 2 |
1 files changed, 2 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 bf797dad3..130060369 100644 --- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp +++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp @@ -1361,6 +1361,8 @@ private: target = {OpAccessChain(t_gmem_float, gmem_buffer, Constant(t_uint, 0), offset), Type::Float}; + } else if (const auto cv = std::get_if<CustomVarNode>(&*dest)) { + target = {custom_variables.at(cv->GetIndex()), Type::Float}; } else { UNIMPLEMENTED(); } |