Cleanup: remove unused code
This commit is contained in:
@@ -50,9 +50,7 @@ CPUKernels::CPUKernels()
|
|||||||
REGISTER_KERNEL(adaptive_sampling_filter_x),
|
REGISTER_KERNEL(adaptive_sampling_filter_x),
|
||||||
REGISTER_KERNEL(adaptive_sampling_filter_y),
|
REGISTER_KERNEL(adaptive_sampling_filter_y),
|
||||||
/* Cryptomatte. */
|
/* Cryptomatte. */
|
||||||
REGISTER_KERNEL(cryptomatte_postprocess),
|
REGISTER_KERNEL(cryptomatte_postprocess)
|
||||||
/* Bake. */
|
|
||||||
REGISTER_KERNEL(bake)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -102,10 +102,6 @@ class CPUKernels {
|
|||||||
|
|
||||||
CryptomattePostprocessFunction cryptomatte_postprocess;
|
CryptomattePostprocessFunction cryptomatte_postprocess;
|
||||||
|
|
||||||
/* Bake. */
|
|
||||||
|
|
||||||
CPUKernelFunction<void (*)(const KernelGlobalsCPU *, float *, int, int, int, int, int)> bake;
|
|
||||||
|
|
||||||
CPUKernels();
|
CPUKernels();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -107,12 +107,4 @@ void KERNEL_FUNCTION_FULL_NAME(cryptomatte_postprocess)(const KernelGlobalsCPU *
|
|||||||
ccl_global float *render_buffer,
|
ccl_global float *render_buffer,
|
||||||
int pixel_index);
|
int pixel_index);
|
||||||
|
|
||||||
/* --------------------------------------------------------------------
|
|
||||||
* Bake.
|
|
||||||
*/
|
|
||||||
/* TODO(sergey): Needs to be re-implemented. Or not? Brecht did it already :) */
|
|
||||||
|
|
||||||
void KERNEL_FUNCTION_FULL_NAME(bake)(
|
|
||||||
const KernelGlobalsCPU *kg, float *buffer, int sample, int x, int y, int offset, int stride);
|
|
||||||
|
|
||||||
#undef KERNEL_ARCH
|
#undef KERNEL_ARCH
|
||||||
|
@@ -231,25 +231,6 @@ void KERNEL_FUNCTION_FULL_NAME(cryptomatte_postprocess)(const KernelGlobalsCPU *
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------
|
|
||||||
* Bake.
|
|
||||||
*/
|
|
||||||
/* TODO(sergey): Needs to be re-implemented. Or not? Brecht did it already :) */
|
|
||||||
|
|
||||||
void KERNEL_FUNCTION_FULL_NAME(bake)(
|
|
||||||
const KernelGlobalsCPU *kg, float *buffer, int sample, int x, int y, int offset, int stride)
|
|
||||||
{
|
|
||||||
#if 0
|
|
||||||
# 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 */
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
#undef KERNEL_INVOKE
|
#undef KERNEL_INVOKE
|
||||||
#undef DEFINE_INTEGRATOR_KERNEL
|
#undef DEFINE_INTEGRATOR_KERNEL
|
||||||
#undef DEFINE_INTEGRATOR_SHADE_KERNEL
|
#undef DEFINE_INTEGRATOR_SHADE_KERNEL
|
||||||
|
Reference in New Issue
Block a user