Sign in
dawn
/
dawn
/
98d2dfcb7a27ea222e48c43831672fea81cfe50c
/
.
/
test
/
tint
/
extensions
/
barycentric_coord
/
basic.wgsl.expected.wgsl
blob: 1d1b4fb8740dcb626e14cf1ba19953ffbbb3b3a6 [
file
] [
log
] [
blame
]
enable chromium_experimental_barycentric_coord
;
@fragment
fn main
(
@builtin
(
barycentric_coord
)
bary_coord
:
vec3f
)
->
@location
(
0
)
vec4f
{
return
vec4f
(
bary_coord
,
1.0
);
}