Implement camera colors
Still needs some unit tests, and to fix the gasket example
This commit is contained in:
@@ -16,7 +16,12 @@ pub fn main() -> anyhow::Result<()> {
|
||||
builder.build_script.defaults = true;
|
||||
builder.shader_panic_strategy = ShaderPanicStrategy::SilentExit;
|
||||
builder.spirv_metadata = SpirvMetadata::Full;
|
||||
builder.capabilities = vec![Capability::Int8, Capability::Int16, Capability::Int64];
|
||||
builder.capabilities = vec![
|
||||
Capability::Int8,
|
||||
Capability::Int16,
|
||||
Capability::Int64,
|
||||
Capability::Float64,
|
||||
];
|
||||
|
||||
let compile_result = builder.build()?;
|
||||
let spv_path = compile_result.module.unwrap_single();
|
||||
|
||||
@@ -64,7 +64,10 @@ mod test {
|
||||
}
|
||||
|
||||
#[test]
|
||||
pub fn has_entry_main_camera() {
|
||||
assert!(has_entry_point(ExecutionModel::GLCompute, "main_camera"))
|
||||
pub fn has_entry_main_image_render() {
|
||||
assert!(has_entry_point(
|
||||
ExecutionModel::GLCompute,
|
||||
"main_image_render"
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user