-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
gfx-rs Metal backend stores the shader module in order to compile it with different options for different pipeline layouts (see gfx-rs/gfx#1576). It would be great to store Ast instead of re-parsing it each time, and just provide a reference to CompilerOption at the spot where compilation is needed.
How about we remove set_compiler_options at all and make the Ast::compile(&self, &CompilerOptions) (notice &self)?
Metadata
Metadata
Assignees
Labels
No labels