Sign in
dawn
/
tint
/
0fe30b52a5c93473923419d0043840d61ca46746
/
.
/
test
/
shader_io
/
fragment_output_builtins_struct.wgsl
blob: d7b37f81927d4791a82ad39d1e20cf0fa8313088 [
file
] [
log
] [
blame
]
struct
FragmentOutputs
{
[[
builtin
(
frag_depth
)]]
frag_depth
:
f32
;
[[
builtin
(
sample_mask
)]]
sample_mask
:
u32
;
};
[[
stage
(
fragment
)]]
fn main
()
->
FragmentOutputs
{
return
FragmentOutputs
(
1.0
,
1u
);
}