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