Sign in
dawn
/
dawn
/
503e0176b2d5467f82d8c9b66d3a7b41a67778ee
/
.
/
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
));
}