-
|
Hey, This resolution needs to occur in the main thread, since I want the shader to be resolved in the state the code was when they stopped editing, not a little later which may incorporate changes to the included files that happened afterwards. I want to do as much work involved with the shader compilation in another thread though, in particular the SPIR-V optimization passes. Is it safe to assume the fileSystem object is only used in the first set of operations, and isn't used anymore for the composite/linking? The goal would be to move the linking to another thread. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
IIRC the file system object will no longer be used after calling loadModule, and you should be able to assume no more file IOs after the last call to loadModule* functions. |
Beta Was this translation helpful? Give feedback.
IIRC the file system object will no longer be used after calling loadModule, and you should be able to assume no more file IOs after the last call to loadModule* functions.