blob: 0f0e20f3113d45a42826a798bce23e3f7cd217c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
__kernel void
compiler_insert_vector(__global int4 *out )
{
int tid = get_global_id(0);
int4 output = (int4)(0, 0, 0, 1); //black
if (tid > 16)
{
output = (int4)(tid, tid, 1, 1);
}
out[tid] = output;
}
|