mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 06:45:13 +00:00
Update lib.rs
This commit is contained in:
parent
1fa44d6891
commit
5db68ec044
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user