Sign in
dawn
/
dawn
/
d78abb3257ddaf308eafa953d2406a40054f423b
/
.
/
test
/
tint
/
builtins
/
gen
/
literal
/
dpdx
/
c487fa.wgsl.expected.msl
blob: e9a2c1e20e8410e587deb8eef4212d1264bda696 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
float4 dpdx_c487fa
()
{
float4 res
=
dfdx
(
float4
(
1.0f
));
return
res
;
}
fragment
void
fragment_main
(
device float4
*
tint_symbol
[[
buffer
(
0
)]])
{
*(
tint_symbol
)
=
dpdx_c487fa
();
return
;
}