diff options
| author | 2019-09-20 17:10:42 -0400 | |
|---|---|---|
| committer | 2019-09-20 17:10:42 -0400 | |
| commit | 88d857499b6168d7bcea9b91fa5bdd8b0144c07a (patch) | |
| tree | 1efa1eddb43c0afd3003b449675997abc9a7637f /src/video_core/shader/node.h | |
| parent | Merge pull request #2784 from ReinUsesLisp/smem (diff) | |
| parent | shader_ir/warp: Implement SHFL (diff) | |
| download | yuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.tar.gz yuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.tar.xz yuzu-88d857499b6168d7bcea9b91fa5bdd8b0144c07a.zip | |
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 { | |||
| 181 | VoteAny, /// (bool) -> bool | 181 | VoteAny, /// (bool) -> bool |
| 182 | VoteEqual, /// (bool) -> bool | 182 | VoteEqual, /// (bool) -> bool |
| 183 | 183 | ||
| 184 | ShuffleIndexed, /// (uint value, uint index, uint width) -> uint | ||
| 185 | ShuffleUp, /// (uint value, uint index, uint width) -> uint | ||
| 186 | ShuffleDown, /// (uint value, uint index, uint width) -> uint | ||
| 187 | ShuffleButterfly, /// (uint value, uint index, uint width) -> uint | ||
| 188 | |||
| 189 | InRangeShuffleIndexed, /// (uint index, uint width) -> bool | ||
| 190 | InRangeShuffleUp, /// (uint index, uint width) -> bool | ||
| 191 | InRangeShuffleDown, /// (uint index, uint width) -> bool | ||
| 192 | InRangeShuffleButterfly, /// (uint index, uint width) -> bool | ||
| 193 | |||
| 184 | Amount, | 194 | Amount, |
| 185 | }; | 195 | }; |
| 186 | 196 | ||