There was an error fetching the commit references. Please try again later.
shader_ir: std::move Node instance where applicable
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.
Showing
- src/video_core/shader/decode.cpp 4 additions, 4 deletionssrc/video_core/shader/decode.cpp
- src/video_core/shader/node_helper.cpp 1 addition, 1 deletionsrc/video_core/shader/node_helper.cpp
- src/video_core/shader/shader_ir.cpp 56 additions, 51 deletionssrc/video_core/shader/shader_ir.cpp
- src/video_core/shader/track.cpp 6 additions, 4 deletionssrc/video_core/shader/track.cpp
Loading
Please register or sign in to comment