This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/compositor/operations/COM_OpenCLKernels.cl

11 lines
306 B
Common Lisp

/// This file contains all opencl kernels for node-operation implementations
__kernel void testKernel(__global __write_only image2d_t output)
{
int x = get_global_id(0);
int y = get_global_id(1);
int2 coords = {x, y};
float4 color = {0.0f, 1.0f, 0.0f, 1.0f};
write_imagef(output, coords, color);
}