Sign in
dawn
/
dawn
/
9da3eaf710d7c5ae6c81f2a6af42b078ecab3b40
/
.
/
test
/
tint
/
types
/
functions
/
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
));
}