VERY experimental Nintendo Switch 2 emulator
C++
Merge pull request #3981 from ReinUsesLisp/bar
bunneicb82125d87a3
diff --cc src/video_core/renderer_opengl/gl_shader_decompiler.cppindex 84ca830f45,6804758f71..2534849683--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp@@@ -2574,13 -2563,9 +2583,14 @@@ private&GLSLDecompiler::VoteEqual,&GLSLDecompiler::ThreadId,+ &GLSLDecompiler::ThreadMask<Func::Eq>,+ &GLSLDecompiler::ThreadMask<Func::Ge>,+ &GLSLDecompiler::ThreadMask<Func::Gt>,+ &GLSLDecompiler::ThreadMask<Func::Le>,+ &GLSLDecompiler::ThreadMask<Func::Lt>,&GLSLDecompiler::ShuffleIndexed,+ &GLSLDecompiler::Barrier,&GLSLDecompiler::MemoryBarrierGL,};static_assert(operation_decompilers.size() == static_cast<std::size_t>(OperationCode::Amount));diff --cc src/video_core/renderer_vulkan/vk_shader_decompiler.cppindex b8169d8329,78963901c0..890f34a2cf--- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp+++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp@@@ -2657,13 -2655,9 +2673,14 @@@ private&SPIRVDecompiler::Vote<&Module::OpSubgroupAllEqualKHR>,&SPIRVDecompiler::ThreadId,+ &SPIRVDecompiler::ThreadMask<0>, // Eq+ &SPIRVDecompiler::ThreadMask<1>, // Ge+ &SPIRVDecompiler::ThreadMask<2>, // Gt+ &SPIRVDecompiler::ThreadMask<3>, // Le+ &SPIRVDecompiler::ThreadMask<4>, // Lt&SPIRVDecompiler::ShuffleIndexed,+ &SPIRVDecompiler::Barrier,&SPIRVDecompiler::MemoryBarrierGL,};static_assert(operation_decompilers.size() == static_cast<std::size_t>(OperationCode::Amount));diff --cc src/video_core/shader/node.hindex cce8aeebe5,80aa692956..c065124138--- a/src/video_core/shader/node.h+++ b/src/video_core/shader/node.h@@@ -226,13 -226,9 +226,14 @@@ enum class OperationCodeVoteEqual, /// (bool) -> boolThreadId, /// () -> uint+ ThreadEqMask, /// () -> uint+ ThreadGeMask, /// () -> uint+ ThreadGtMask, /// () -> uint+ ThreadLeMask, /// () -> uint+ ThreadLtMask, /// () -> uintShuffleIndexed, /// (uint value, uint index) -> uint+ Barrier, /// () -> voidMemoryBarrierGL, /// () -> voidAmount,