Skip to content
Snippets Groups Projects
  1. Jul 09, 2019
  2. Jul 07, 2019
  3. Jun 24, 2019
  4. Jun 21, 2019
  5. Jun 07, 2019
    • ReinUsesLisp's avatar
      shader: Split SSY and PBK stack · fe8e6618
      ReinUsesLisp authored
      Hardware testing revealed that SSY and PBK push to a different stack,
      allowing code like this:
      
              SSY label1;
              PBK label2;
              SYNC;
      label1: PBK;
      label2: EXIT;
      fe8e6618
  6. Jun 06, 2019
  7. Jun 05, 2019
  8. May 23, 2019
    • 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
  9. May 22, 2019
  10. May 21, 2019
  11. May 20, 2019
  12. May 19, 2019
  13. May 09, 2019
  14. May 04, 2019
  15. May 03, 2019
  16. Apr 26, 2019
  17. Apr 21, 2019
  18. Apr 18, 2019
  19. Apr 16, 2019
Loading