mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 10:57:54 +00:00
shader: Use shared_ptr to store nodes and move initialization to file
Instead of having a vector of unique_ptr stored in a vector and returning star pointers to this, use shared_ptr. While changing initialization code, move it to a separate file when possible. This is a first step to allow code analysis and node generation beyond the ShaderIR class.
This commit is contained in:
parent
72f09c55a8
commit
fd392543e8
35 changed files with 296 additions and 248 deletions
|
@ -102,6 +102,8 @@ add_library(video_core STATIC
|
|||
shader/decode/xmad.cpp
|
||||
shader/decode/other.cpp
|
||||
shader/decode.cpp
|
||||
shader/node_helper.cpp
|
||||
shader/node_helper.h
|
||||
shader/shader_ir.cpp
|
||||
shader/shader_ir.h
|
||||
shader/track.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue