diff options
| author | 2021-04-02 01:17:47 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:25 -0400 | |
| commit | b4a5e767d0a60d44c77460bd3a4062c5f69fb6c7 (patch) | |
| tree | e365fabb301fba40c7a8e25b072ce59d15105e1d /src/shader_recompiler/backend/spirv/emit_spirv.cpp | |
| parent | vulkan: Serialize pipelines on a separate thread (diff) | |
| download | yuzu-b4a5e767d0a60d44c77460bd3a4062c5f69fb6c7.tar.gz yuzu-b4a5e767d0a60d44c77460bd3a4062c5f69fb6c7.tar.xz yuzu-b4a5e767d0a60d44c77460bd3a4062c5f69fb6c7.zip | |
shader: Fix branches to visited virtual blocks
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.cpp b/src/shader_recompiler/backend/spirv/emit_spirv.cpp index 9dc769307..b8e3b8527 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv.cpp | |||
| @@ -56,6 +56,8 @@ ArgType Arg(EmitContext& ctx, const IR::Value& arg) { | |||
| 56 | return arg.Label(); | 56 | return arg.Label(); |
| 57 | } else if constexpr (std::is_same_v<ArgType, IR::Attribute>) { | 57 | } else if constexpr (std::is_same_v<ArgType, IR::Attribute>) { |
| 58 | return arg.Attribute(); | 58 | return arg.Attribute(); |
| 59 | } else if constexpr (std::is_same_v<ArgType, IR::Reg>) { | ||
| 60 | return arg.Reg(); | ||
| 59 | } | 61 | } |
| 60 | } | 62 | } |
| 61 | 63 | ||