Implement camera colors
CI / cargo fmt (push) Successful in 22s
CI / cargo test (push) Successful in 12m34s
CI / cargo test (GPU) (push) Successful in 12m51s

Still needs some unit tests, and to fix the gasket example
This commit is contained in:
2026-07-03 14:07:45 -04:00
parent a1b9a274f7
commit 54ba76b380
4 changed files with 120 additions and 57 deletions
+6 -1
View File
@@ -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();
+5 -2
View File
@@ -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"
))
}
}