1. 25 May, 2019 5 commits
  2. 24 May, 2019 4 commits
  3. 23 May, 2019 3 commits
    • Lioncash's avatar
      shader/shader_ir: Make Comment() take a std::string by value · b6dcb1ae
      Lioncash authored
      This allows for forming comment nodes without making unnecessary copies
      of the std::string instance.
      
      e.g. previously:
      
      Comment(fmt::format("Base address is c[0x{:x}][0x{:x}]",
              cbuf->GetIndex(), cbuf_offset));
      
      Would result in a copy of the string being created, as CommentNode()
      takes a std::string by value (a const ref passed to a value parameter
      results in a copy).
      
      Now, only one instance of the string is ever moved around. (fmt::format
      returns a std::string, and since it's returned from a function by value,
      this is a prvalue (which can be treated like an rvalue), so it's moved
      into Comment's string parameter), we then move it into the CommentNode
      constructor, which then moves the string into its member variable).
      b6dcb1ae
    • Lioncash's avatar
      shader/decode/*: Add missing newline to files lacking them · 228e58d0
      Lioncash authored
      Keeps the shader code file endings consistent.
      228e58d0
    • Lioncash's avatar
      shader/decode/*: Eliminate indirect inclusions · 87b4c1ac
      Lioncash authored
      Amends cases where we were using things that were indirectly being
      satisfied through other headers. This way, if those headers change and
      eliminate dependencies on other headers in the future, we don't have
      cascading compilation errors.
      87b4c1ac
  4. 22 May, 2019 1 commit
  5. 21 May, 2019 9 commits
  6. 20 May, 2019 11 commits
  7. 19 May, 2019 7 commits
    • Hexagon12's avatar
      Merge pull request #2500 from FernandoS27/revert-2466 · 73ee85e9
      Hexagon12 authored
      Revert #2466
      73ee85e9
    • Fernando Sahmkow's avatar
      Revert #2466 · 911fafb9
      Fernando Sahmkow authored
      This reverts a tested behavior on delay slots not exiting if the exit 
      flag is set. Currently new tests are required in order to ensure this 
      behavior.
      911fafb9
    • Lioncash's avatar
      gl_shader_decompiler: Add AddLine() overload that forwards to fmt · 91ec251c
      Lioncash authored
      In a lot of places throughout the decompiler, string concatenation via
      operator+ is used quite heavily. This is usually fine, when not heavily
      used, but when used extensively, can be a problem. operator+ creates an
      entirely new heap allocated temporary string and given we perform
      expressions like:
      
      std::string thing = a + b + c + d;
      
      this ends up with a lot of unnecessary temporary strings being created
      and discarded, which kind of thrashes the heap more than we need to.
      Given we utilize fmt in some AddLine calls, we can make this a part of
      the ShaderWriter's API. We can make an overload that simply acts as a
      passthrough to fmt.
      
      This way, whenever things need to be appended to a string, the operation
      can be done via a single string formatting operation instead of
      discarding numerous temporary strings. This also has the benefit of
      making the strings themselves look nicer and makes it easier to spot
      errors in them.
      91ec251c
    • bunnei's avatar
      Merge pull request #2441 from ReinUsesLisp/al2p · d49efbfb
      bunnei authored
      shader: Implement AL2P and ALD.PHYS
      d49efbfb
    • bunnei's avatar
      Merge pull request #2410 from lioncash/affinity · 13dda1d8
      bunnei authored
       kernel/svc: Reorganize and fix up the initial handling of svcSetThreadCoreMask()
      13dda1d8
    • Lioncash's avatar
      yuzu/configuration/configure_web: Specify string conversions explicitly · 2318c394
      Lioncash authored
      Allows the web config code to compile with implicit string conversions
      disabled. We can also deduplicate the calls to create the pixmap.
      2318c394
    • Lioncash's avatar
      yuzu/configuration/configure_system: Specify string conversions explicitly · d9c4d64e
      Lioncash authored
      Allows the system config code to build successfully with implicit string
      conversions disabled.
      d9c4d64e