shader-slang / slang

Making it easier to work with shaders
MIT License
2.06k stars 177 forks source link

capture/replay: implement infrastructure for capture #4372

Closed kaizhangNV closed 3 months ago

kaizhangNV commented 3 months ago

Add infrastructure for output stream This is the interface to record the method and parameter, and also provide functionality to write all the serialized data into file.

Add capture manager: Capture manager is associated to global session object, it will provide the functionality to actual record all the APIs.

Implement some of parameter encoder functions.