Crates.io | ash_shader_creator |
lib.rs | ash_shader_creator |
version | 1.4.1 |
source | src |
created_at | 2021-08-14 20:49:22.134542 |
updated_at | 2021-08-15 14:17:24.416595 |
description | A library for easy to way automatically create multiple shader stages from the directory path. |
homepage | |
repository | https://github.com/Jerrody/ash_shader_creator |
max_upload_size | |
id | 436980 |
size | 24,261 |
A library for easy to way automatically create multiple shader stages from the directory path.
use ash::{Device, PipelineShaderStageCreateFlags, PipelineShaderStageCreateInfo};
use std::path::Path;
let shader_stage_flags = PipelineShaderStageCreateFlags::RESERVED_2_NV | PipelineShaderStageCreateFlags::ALLOW_VARYING_SUBGROUP_SIZE_EXT;
let shader_stages_create_info: Vec<PipelineShaderStageCreateInfo> =
ShaderStage::new(&device, &Path::new("example_path/compiled_shaders"))
.with_shader_stage_flags(shader_stage_flags)
.build();
For today, library can creates only shader stages from the names of compiled shaders that have:
Discord: Жоржик#1991