2021-06-03 11:26:17 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2023-03-06 18:25:08 +00:00
|
|
|
void dpdyCoarse_ae1873(device packed_float3* const tint_symbol) {
|
2022-07-26 14:27:25 +00:00
|
|
|
float3 res = dfdy(float3(1.0f));
|
2023-03-06 18:25:08 +00:00
|
|
|
*(tint_symbol) = packed_float3(res);
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
2023-03-06 18:25:08 +00:00
|
|
|
fragment void fragment_main(device packed_float3* tint_symbol_1 [[buffer(0)]]) {
|
|
|
|
dpdyCoarse_ae1873(tint_symbol_1);
|
2021-06-03 11:26:17 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|