-
Notifications
You must be signed in to change notification settings - Fork 450
Open
Description
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:
- delete fn build_glsl (it was used for pre proc-macros) done
- deprecate glsl-to-spirv (change readme + publish) done
- upgrade to proc_macro2 done
- use
proc_macro
instead ofproc_macro_derive
done - deprecate vulkano-shaders-derive (change readme + publish) done
- change panics to errors as per the syn lazy-static example - ensure this fixes Format SPIR-V Cross-Compilation Errors #345, its currently caused by unwrapping the
Result<CompilationArtifact, String>
- Use spans properly to report where errors occur.
- Pass file names to the input_file_name argument. Filename will be either:
- *.glsl
- *.rs (embedded)
- Display shaderc-rs warnings as proc macro warnings Show warnings generated by glslang #117
- Change vulkano_shaders! to have the glsl specified as tokens rather then a string. Some discussion at vulkano-shaders - proc macros 2.0 #1062
- Map shaderc errors back to the glsl token spans to generate better errors.
- Replace vulkano-shaders/src/parse.rs with rspirv stuff Replace
vulkano-shaders
parser withrspirv
#910
6,7,9,10,11 are waiting on proc macro diagnostics to stabilize rust-lang/rust#54140
HadrienG2, SiebenCorgie, Limeth, MOZGIII, mitchmindtree and 2 more
Metadata
Metadata
Assignees
Labels
No labels