Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
dpdxCoarse
/
9581cf.wgsl.expected.msl
blob: fb8b322654e1f2ca7bc851f7c9039ec82dacfad3 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
float2 dpdxCoarse_9581cf
()
{
float2 res
=
dfdx
(
float2
(
1.0f
));
return
res
;
}
fragment
void
fragment_main
(
device float2
*
tint_symbol
[[
buffer
(
0
)]])
{
*(
tint_symbol
)
=
dpdxCoarse_9581cf
();
return
;
}