blob: d3b7da48d72a727f0b934962805107bd3fdac32c (
plain)
1
2
3
4
|
kernel void compiler_smoothstep(global float *src1, global float *src2, global float *src3, global float *dst) {
int i = get_global_id(0);
dst[i] = smoothstep(src1[i], src2[i], src3[i]);
}
|