Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/integrator/denoiser_optix.h
- This file was moved from intern/cycles/kernel/kernels/opencl/kernel_lamp_emission.cl.
| /* | /* | ||||
| * Copyright 2011-2015 Blender Foundation | * Copyright 2011-2021 Blender Foundation | ||||
| * | * | ||||
| * Licensed under the Apache License, Version 2.0 (the "License"); | * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| * you may not use this file except in compliance with the License. | * you may not use this file except in compliance with the License. | ||||
| * You may obtain a copy of the License at | * You may obtain a copy of the License at | ||||
| * | * | ||||
| * http://www.apache.org/licenses/LICENSE-2.0 | * http://www.apache.org/licenses/LICENSE-2.0 | ||||
| * | * | ||||
| * Unless required by applicable law or agreed to in writing, software | * Unless required by applicable law or agreed to in writing, software | ||||
| * distributed under the License is distributed on an "AS IS" BASIS, | * distributed under the License is distributed on an "AS IS" BASIS, | ||||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #include "kernel/kernel_compat_opencl.h" | #pragma once | ||||
| #include "kernel/split/kernel_split_common.h" | |||||
| #include "kernel/split/kernel_lamp_emission.h" | |||||
| #define KERNEL_NAME lamp_emission | |||||
| #include "kernel/kernels/opencl/kernel_split_function.h" | |||||
| #undef KERNEL_NAME | |||||
| #include "integrator/denoiser_device.h" | |||||
| CCL_NAMESPACE_BEGIN | |||||
| class OptiXDenoiser : public DeviceDenoiser { | |||||
| public: | |||||
| OptiXDenoiser(Device *path_trace_device, const DenoiseParams ¶ms); | |||||
| protected: | |||||
| virtual uint get_device_type_mask() const override; | |||||
| }; | |||||
| CCL_NAMESPACE_END | |||||