diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-04-16 23:52:58 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:28 +0200 |
commit | f18a6dd1bdaffda4c3e771af3cf7cf41919ebd67 (patch) | |
tree | ffd531d2a81f9e48369c7f362e11e224f437fd5c /src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp | |
parent | shader: Fix Phi node types (diff) | |
download | yuzu-f18a6dd1bdaffda4c3e771af3cf7cf41919ebd67.tar yuzu-f18a6dd1bdaffda4c3e771af3cf7cf41919ebd67.tar.gz yuzu-f18a6dd1bdaffda4c3e771af3cf7cf41919ebd67.tar.bz2 yuzu-f18a6dd1bdaffda4c3e771af3cf7cf41919ebd67.tar.lz yuzu-f18a6dd1bdaffda4c3e771af3cf7cf41919ebd67.tar.xz yuzu-f18a6dd1bdaffda4c3e771af3cf7cf41919ebd67.tar.zst yuzu-f18a6dd1bdaffda4c3e771af3cf7cf41919ebd67.zip |
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp index 660b84c20..b0baff74b 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp @@ -150,6 +150,8 @@ enum class SpecialRegister : u64 { return ir.SubgroupGtMask(); case SpecialRegister::SR_GEMASK: return ir.SubgroupGeMask(); + case SpecialRegister::SR_Y_DIRECTION: + return ir.BitCast<IR::U32>(ir.YDirection()); default: throw NotImplementedException("S2R special register {}", special_register); } |