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