#vulkan #macro #graphics #proc-macro #gaclen

macro gaclen_shader

Tweaked re-export of vulkano_shader! procedural macro

8 releases

0.0.14 May 3, 2020
0.0.13 Apr 26, 2020
0.0.10 Mar 19, 2020
0.0.9 Jan 26, 2020
0.0.6 Nov 24, 2019

#214 in #vulkan


Used in gaclen

Apache-2.0 OR MIT

130KB
2.5K SLoC

Tweaked version of vulkano_shader! macro.

In order to function the macro requires access to gaclen crate:

// Allow `shader!` macro to use this project's gaclen dependency.
extern crate gaclen;

The changes include tweaks to the generated code to use gaclen::vulkano to avoid the necessity of including vulkano in gaclen-dependent projects.

Dependencies

~29MB
~643K SLoC