Once https://github.com/vulkano-rs/vulkano/pull/947 is merged then, there a bunch of work I want to do on the vulkano-shaders/vulkano-shader-derive crates, in terms of updating dependencies and cleaning things up. So figured I would list my plans here:
proc_macro instead of proc_macro_derive doneResult<CompilationArtifact, String>6,7,9,10,11 are waiting on proc macro diagnostics to stabilize https://github.com/rust-lang/rust/issues/54140
https://github.com/vulkano-rs/vulkano/issues/945 Just came across this issue, posting it here so I can find it again.
Edit: And another relevant issue - https://github.com/vulkano-rs/vulkano/issues/549
I don't know if this is the right place to ask this, but is there a plan to support shaderc #include directive? According to the shaderc-rs docs, it's just a matter of supplying a loader function in compile_options and it would really be a big help when reusing shader code.
@TheEdward162 ooo that would be a nice option to have. I wonder where within the vulkano API this could be exposed. I wonder - is there any drawback to just always enabling it? I'll probably look into contributing this if it doesn't happen to be supported by the time we need it. cc @JoshuaBatty relevant to our interests :)
Thanks for pointing that out.
I haven't seen it before and it would be nice to have.
Basic design:
shader! macro call we dont set the callback at all.
Most helpful comment
I don't know if this is the right place to ask this, but is there a plan to support shaderc #include directive? According to the shaderc-rs docs, it's just a matter of supplying a loader function in compile_options and it would really be a big help when reusing shader code.