2022-06-07 13:55:34 +00:00
|
|
|
@fragment
|
2022-01-19 22:46:57 +00:00
|
|
|
fn main0() -> @location(0) i32 {
|
2021-06-03 09:38:34 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@fragment
|
2022-01-19 22:46:57 +00:00
|
|
|
fn main1() -> @location(1) u32 {
|
2021-06-03 09:38:34 +00:00
|
|
|
return 1u;
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@fragment
|
2022-01-19 22:46:57 +00:00
|
|
|
fn main2() -> @location(2) f32 {
|
2021-06-03 09:38:34 +00:00
|
|
|
return 1.0;
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@fragment
|
2022-01-19 22:46:57 +00:00
|
|
|
fn main3() -> @location(3) vec4<f32> {
|
2021-06-03 09:38:34 +00:00
|
|
|
return vec4<f32>(1.0, 2.0, 3.0, 4.0);
|
|
|
|
}
|