2022-06-02 14:36:10 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2023-03-06 18:25:08 +00:00
|
|
|
void dpdyCoarse_870a7e(device float* const tint_symbol) {
|
2022-06-02 14:36:10 +00:00
|
|
|
float arg_0 = 1.0f;
|
|
|
|
float res = dfdy(arg_0);
|
2023-03-06 18:25:08 +00:00
|
|
|
*(tint_symbol) = res;
|
2022-06-02 14:36:10 +00:00
|
|
|
}
|
|
|
|
|
2023-03-06 18:25:08 +00:00
|
|
|
fragment void fragment_main(device float* tint_symbol_1 [[buffer(0)]]) {
|
|
|
|
dpdyCoarse_870a7e(tint_symbol_1);
|
2022-06-02 14:36:10 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|