Good to hear!
I am currently reluctant to change this in our source code just to
correct for a (hopefully temporary) compiler bug. However, if this
does not get solved and more darktable users are getting into trouble I
might reconsider.
Ulrich
Am 24.11.2012 16:39, schrieb Rene Weiss:
> Am 24.11.2012 14:35, schrieb Ulrich Pegelow:
>> __kernel void
>> blendop_mask_RAW (__read_only image2d_t in_a, __read_only image2d_t
>> in_b, __write_only image2d_t mask, const int width, const int height,
>> const float gopacity, const int blendif, global const float
>> *blendif_parameters)
>> {
>> const int x = get_global_id(0);
>> const int y = get_global_id(1);
>>
>> if(x >= width || y >= height) return;
>>
>> float4 a = read_imagef(in_a, sampleri, (int2)(x, y));
>> float4 b = read_imagef(in_b, sampleri, (int2)(x, y));
>>
>> float bif = blendif_factor_Lab(a, b, blendif, blendif_parameters);
>> float opacity = gopacity * bif;
>> opacity /= bif;
>>
>> write_imagef(mask, (int2)(x, y), opacity);
>> }
>>
>
> This seems to work
>
> Thanks,
> René
>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users