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: d462f5d82506a6a7c9e0744f0104569af3ea9184 (plain)
1
2
3
4
5
6
7
8
9
/// 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);
}