-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shaders cleanup #1039
Comments
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. Basic design:
|
Once #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 ofproc_macro_derive
doneResult<CompilationArtifact, String>
vulkano-shaders
parser withrspirv
#9106,7,9,10,11 are waiting on proc macro diagnostics to stabilize rust-lang/rust#54140
The text was updated successfully, but these errors were encountered: