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