Update lib.rs

This commit is contained in:
Viktor Zoutman 2020-10-21 13:16:03 +02:00 committed by GitHub
parent 1fa44d6891
commit 5db68ec044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ use spirv_std::{f32x4, Input, Output};
#[allow(unused_attributes)] #[allow(unused_attributes)]
#[spirv(entry = "fragment")] #[spirv(entry = "fragment")]
pub fn main(input: Input<f32x4>, mut output: Output<f32x4>) { pub fn main_fs(input: Input<f32x4>, mut output: Output<f32x4>) {
output.store(input.load()); output.store(input.load());
} }