Skip to content
Snippets Groups Projects
  • Lioncash's avatar
    shader_ir: std::move Node instance where applicable · bebbdc20
    Lioncash authored
    These are std::shared_ptr instances underneath the hood, which means
    copying them isn't as cheap as a regular pointer. Particularly so on
    weakly-ordered systems.
    
    This avoids atomic reference count increments and decrements where they
    aren't necessary for the core set of operations.
    bebbdc20