2021-06-03 11:26:17 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2023-03-06 18:25:08 +00:00
|
|
|
void dpdxFine_f401a2(device float* const tint_symbol) {
|
2021-06-28 15:30:57 +00:00
|
|
|
float res = dfdx(1.0f);
|
2023-03-06 18:25:08 +00:00
|
|
|
*(tint_symbol) = res;
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
2023-03-06 18:25:08 +00:00
|
|
|
fragment void fragment_main(device float* tint_symbol_1 [[buffer(0)]]) {
|
|
|
|
dpdxFine_f401a2(tint_symbol_1);
|
2021-06-03 11:26:17 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|