diff options
| author | bunnei <bunneidev@gmail.com> | 2019-09-20 17:10:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-20 17:10:42 -0400 |
| commit | 88d857499b6168d7bcea9b91fa5bdd8b0144c07a (patch) | |
| tree | 1efa1eddb43c0afd3003b449675997abc9a7637f /src/video_core/shader/node.h | |
| parent | b31880dc5e0d9aab1171d3476453ad2db00cfd3a (diff) | |
| parent | 0526bf18952bc6c6877dcdc05731d34327396662 (diff) | |
Merge pull request #2855 from ReinUsesLisp/shfl
shader_ir/warp: Implement SHFL for Nvidia devices
Diffstat (limited to 'src/video_core/shader/node.h')
| -rw-r--r-- | src/video_core/shader/node.h | 10 |
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, }; |
