diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-02 23:44:13 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-07 20:08:41 -0300 |
| commit | 08b2b1080a2e5794c65ebb999c435f6eb9d1aa26 (patch) | |
| tree | 07ff442f13d3d74b7d2cb84a62cc2de222a128eb /src/video_core/shader/node.h | |
| parent | b6ae48966d2e914d6c51f62e9eb818fb7aec7c1d (diff) | |
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 { 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 + ThreadId, /// () -> uint + ShuffleIndexed, /// (uint value, uint index) -> uint Amount, }; |
