Welcome to mirror list, hosted at ThFree Co, Russian Federation.

COM_OpenCLKernels.cl « operations « compositor « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 40932e54bc7e20432b8db77c3e429014e44b2178 (plain)
1
2
3
4
5
6
7
8
9
10
/// 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);
}