Sign in
dawn
/
dawn
/
45cd391d56356c62c08672f6f86fe7fdd30e4e13
/
.
/
test
/
tint
/
shader_io
/
fragment_output_locations_struct.wgsl
blob: 5d51299bb54f91fadd8a2962fba9e8f06d993c0c [
file
] [
log
] [
blame
]
struct
FragmentOutputs
{
@location
(
0
)
loc0
:
i32
,
@location
(
1
)
loc1
:
u32
,
@location
(
2
)
loc2
:
f32
,
@location
(
3
)
loc3
:
vec4
<f32>
,
};
@fragment
fn main
()
->
FragmentOutputs
{
return
FragmentOutputs
(
1
,
1u
,
1.0
,
vec4
<f32>
(
1.0
,
2.0
,
3.0
,
4.0
));
}