diff options
| author | 2020-05-15 02:52:35 -0300 | |
|---|---|---|
| committer | 2020-05-27 00:19:45 -0300 | |
| commit | 32e6727daecab60d368d14619c1e04d0d7e60008 (patch) | |
| tree | 427eade0b7069869011365137de2c87bc15df7e0 /src/video_core/shader/node.h | |
| parent | Merge pull request #3981 from ReinUsesLisp/bar (diff) | |
| download | yuzu-32e6727daecab60d368d14619c1e04d0d7e60008.tar.gz yuzu-32e6727daecab60d368d14619c1e04d0d7e60008.tar.xz yuzu-32e6727daecab60d368d14619c1e04d0d7e60008.zip | |
shader/other: Implement MEMBAR.CTS
This silences an assertion we were hitting and uses workgroup memory
barriers when the game requests it.
Diffstat (limited to 'src/video_core/shader/node.h')
| -rw-r--r-- | src/video_core/shader/node.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h index c06512413..c5e5165ff 100644 --- a/src/video_core/shader/node.h +++ b/src/video_core/shader/node.h | |||
| @@ -233,8 +233,9 @@ enum class OperationCode { | |||
| 233 | ThreadLtMask, /// () -> uint | 233 | ThreadLtMask, /// () -> uint |
| 234 | ShuffleIndexed, /// (uint value, uint index) -> uint | 234 | ShuffleIndexed, /// (uint value, uint index) -> uint |
| 235 | 235 | ||
| 236 | Barrier, /// () -> void | 236 | Barrier, /// () -> void |
| 237 | MemoryBarrierGL, /// () -> void | 237 | MemoryBarrierGroup, /// () -> void |
| 238 | MemoryBarrierGlobal, /// () -> void | ||
| 238 | 239 | ||
| 239 | Amount, | 240 | Amount, |
| 240 | }; | 241 | }; |