forked from bartvdbraak/blender
Fix Cycles build error when disabling some kernel features
Differential Revision: https://developer.blender.org/D8372
This commit is contained in:
parent
2930d4fcea
commit
f6dc6caa15
@ -140,7 +140,9 @@ void KERNEL_FUNCTION_FULL_NAME(bake)(
|
||||
# ifdef KERNEL_STUB
|
||||
STUB_ASSERT(KERNEL_ARCH, bake);
|
||||
# else
|
||||
# ifdef __BAKING__
|
||||
kernel_bake_evaluate(kg, buffer, sample, x, y, offset, stride);
|
||||
# endif
|
||||
# endif /* KERNEL_STUB */
|
||||
}
|
||||
|
||||
|
@ -751,7 +751,9 @@ float Camera::world_to_raster_size(float3 P)
|
||||
}
|
||||
#else
|
||||
camera_sample_panorama(&kernel_camera,
|
||||
# ifdef __CAMERA_MOTION__
|
||||
kernel_camera_motion.data(),
|
||||
# endif
|
||||
0.5f * full_width,
|
||||
0.5f * full_height,
|
||||
0.0f,
|
||||
|
Loading…
Reference in New Issue
Block a user