diff options
| author | 2019-11-02 23:44:13 -0300 | |
|---|---|---|
| committer | 2019-11-07 20:08:41 -0300 | |
| commit | 08b2b1080a2e5794c65ebb999c435f6eb9d1aa26 (patch) | |
| tree | 07ff442f13d3d74b7d2cb84a62cc2de222a128eb /src/video_core/shader/node.h | |
| parent | Merge pull request #3032 from ReinUsesLisp/simplify-control-flow-brx (diff) | |
| download | yuzu-08b2b1080a2e5794c65ebb999c435f6eb9d1aa26.tar.gz yuzu-08b2b1080a2e5794c65ebb999c435f6eb9d1aa26.tar.xz yuzu-08b2b1080a2e5794c65ebb999c435f6eb9d1aa26.zip | |
gl_shader_decompiler: Reimplement shuffles with platform agnostic intrinsics
Diffstat (limited to 'src/video_core/shader/node.h')
| -rw-r--r-- | src/video_core/shader/node.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h index 4300d9ff4..bd3547e0d 100644 --- a/src/video_core/shader/node.h +++ b/src/video_core/shader/node.h | |||
| @@ -181,15 +181,8 @@ 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 | 184 | ThreadId, /// () -> uint |
| 185 | ShuffleUp, /// (uint value, uint index, uint width) -> uint | 185 | ShuffleIndexed, /// (uint value, uint index) -> 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 | 186 | ||
| 194 | Amount, | 187 | Amount, |
| 195 | }; | 188 | }; |