ash_shader_creator-1.2.0 has been yanked.
ash_shader_creator
A library for easy to way automatically create multiple shader stages from the directory path.
use Device;
use Path;
let shader_stage_flags = RESERVED_2_NV | ALLOW_VARYING_SUBGROUP_SIZE_EXT;
let shader_stages_create_info: =
new
.with_shader_stage_flags
.build;
What the library can do?
- Supports GLSL
- Supports HLSL
- Creating shaders from multiple directories
Important
For today, library can creates only shader stages from compiled shaders that have:
- For the GLSL: <file_name>_vert.spv for the vertex shader and <file_name>_frag.spv for the fragment shader.
- For the HLSL: <file_name>.vs for the vertex shader and <file_name>.fs for the fragment shader.