blob: ba5075222c5839bbf9ef9df3d5d13b6c74aaffc7 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device float4* prevent_dce;
};
void dpdyCoarse_445d24(tint_module_vars_struct tint_module_vars) {
float4 res = dfdy(float4(1.0f));
(*tint_module_vars.prevent_dce) = res;
}
fragment void fragment_main(device float4* prevent_dce [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.prevent_dce=prevent_dce};
dpdyCoarse_445d24(tint_module_vars);
}