Getting things passed over to cl. No vector4 datatype in sfml,
and cl only passes by even numbers of vectors. Update to 2.4? or make my own sf::Vector4?
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
__kernel void min_kern(
|
||||
global char* in,
|
||||
global char* map,
|
||||
global int3 map_dim)
|
||||
{
|
||||
int a = 10;
|
||||
global int3* map_dim,
|
||||
global int2* resolution,
|
||||
global float3* projection_matrix
|
||||
){
|
||||
|
||||
size_t id = get_global_id(0);
|
||||
printf("%c%i\n", in[id], id);
|
||||
|
||||
//printf("%i %c -- ", id, map[id]);
|
||||
//printf("%i, %i, %i\n", map_dim->x, map_dim->y, map_dim->z);
|
||||
printf("\n%i\nX: %f\nY: %f\nZ: %f\n", id, projection_matrix[id].x, projection_matrix[id].y, projection_matrix[id].z);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user