forked from bartvdbraak/blender
Fix OpenCL build error.
This commit is contained in:
parent
d703f616db
commit
6c5df7567b
@ -70,7 +70,7 @@ __device void kernel_film_convert_to_half_float(KernelGlobals *kg,
|
||||
/* buffer offset */
|
||||
int index = offset + x + y*stride;
|
||||
|
||||
float4 *in = (__global float4*)(buffer + index*kernel_data.film.pass_stride);
|
||||
float4 *in = (float4*)(buffer + index*kernel_data.film.pass_stride);
|
||||
half *out = (half*)rgba + index*4;
|
||||
float scale = kernel_data.film.exposure*sample_scale;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user