Is there a way to get file dependencies for a filepath without compiling ? #2690
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
There is a |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer @tangent-vector ! Another questions: Is there a way to know if a member of a struct is really used in the final shader. For example defining a RaytracingAccelerationStructure in a struct but for some shaders that import this struct, it won't use the AS. The reflection always give the resource right ? I also tried to do an extension of this struct and define this member in the extension but it seems to not be allowed ? You can only defined new functions in extension ? Thank you |
Beta Was this translation helpful? Give feedback.
There is a
NO_CODEGEN
flag that can be used from the C API. Using that flag should eliminate some amount of the compilation time (but not all of it), and might be sufficient for your needs.