anil007

what is the difference between the sampler objects creation

Discussion created by anil007 on Oct 20, 2010
Latest reply on Oct 20, 2010 by nou

1)cl_sampler clCreateSampler ( cl_context context,
cl_bool normalized_coords,
cl_addressing_mode addressing_mode,
cl_filter_mode filter_mode,
cl_int *errcode_ret) ,
in the above function what is the object
please explain the dufference between these two.

2)const sampler_t imgSamplerInt2 = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST;

Outcomes