summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/node.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-09-20 23:10:42 +0200
committerGitHub <noreply@github.com>2019-09-20 23:10:42 +0200
commit88d857499b6168d7bcea9b91fa5bdd8b0144c07a (patch)
tree1efa1eddb43c0afd3003b449675997abc9a7637f /src/video_core/shader/node.h
parentMerge pull request #2784 from ReinUsesLisp/smem (diff)
parentshader_ir/warp: Implement SHFL (diff)
downloadyuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.tar
yuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.tar.gz
yuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.tar.bz2
yuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.tar.lz
yuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.tar.xz
yuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.tar.zst
yuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.zip
Diffstat (limited to 'src/video_core/shader/node.h')
-rw-r--r--src/video_core/shader/node.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h
index 425111cc4..abf2cb1ab 100644
--- a/src/video_core/shader/node.h
+++ b/src/video_core/shader/node.h
@@ -181,6 +181,16 @@ enum class OperationCode {
VoteAny, /// (bool) -> bool
VoteEqual, /// (bool) -> bool
+ ShuffleIndexed, /// (uint value, uint index, uint width) -> uint
+ ShuffleUp, /// (uint value, uint index, uint width) -> uint
+ ShuffleDown, /// (uint value, uint index, uint width) -> uint
+ ShuffleButterfly, /// (uint value, uint index, uint width) -> uint
+
+ InRangeShuffleIndexed, /// (uint index, uint width) -> bool
+ InRangeShuffleUp, /// (uint index, uint width) -> bool
+ InRangeShuffleDown, /// (uint index, uint width) -> bool
+ InRangeShuffleButterfly, /// (uint index, uint width) -> bool
+
Amount,
};