Sign in
dawn
/
dawn
/
545f4e0f77288894237aa75bccb80ea91ec8f7e5
/
.
/
test
/
shader_io
/
fragment_output_builtins_struct.wgsl.expected.wgsl
blob: 6617a26713a5372c32cd90c5da6d7f24722e7e95 [
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
);
}