summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-09-10 17:56:17 +0200
committerGitHub <noreply@github.com>2019-09-10 17:56:17 +0200
commit34b2c60f95c964354f00546385684fc9c8726d76 (patch)
tree365887554f8b0ddf08bf98b00b1b6bad5f36f073 /src/video_core/engines
parentMerge pull request #2810 from ReinUsesLisp/mme-opt (diff)
parentshader/shift: Implement SHR wrapped and clamped variants (diff)
downloadyuzu-34b2c60f95c964354f00546385684fc9c8726d76.tar
yuzu-34b2c60f95c964354f00546385684fc9c8726d76.tar.gz
yuzu-34b2c60f95c964354f00546385684fc9c8726d76.tar.bz2
yuzu-34b2c60f95c964354f00546385684fc9c8726d76.tar.lz
yuzu-34b2c60f95c964354f00546385684fc9c8726d76.tar.xz
yuzu-34b2c60f95c964354f00546385684fc9c8726d76.tar.zst
yuzu-34b2c60f95c964354f00546385684fc9c8726d76.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index c3678b9ea..bd8c1ada0 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -675,6 +675,10 @@ union Instruction {
} shift;
union {
+ BitField<39, 1, u64> wrap;
+ } shr;
+
+ union {
BitField<39, 5, u64> shift_amount;
BitField<48, 1, u64> negate_b;
BitField<49, 1, u64> negate_a;