Cleanup: Cycles: remove unused function

This commit is contained in:
Weizhen Huang
2025-05-21 18:59:21 +02:00
committed by Weizhen Huang
parent 872528814e
commit c0843f0649
2 changed files with 0 additions and 7 deletions

View File

@@ -32,12 +32,6 @@ PassAccessor::Destination::Destination(float *pixels, const int num_components)
{
}
PassAccessor::Destination::Destination(const PassType pass_type, half4 *pixels)
: Destination(pass_type)
{
pixels_half_rgba = pixels;
}
PassAccessor::Destination::Destination(const PassType pass_type)
{
const PassInfo pass_info = Pass::get_info(pass_type);

View File

@@ -45,7 +45,6 @@ class PassAccessor {
public:
Destination() = default;
Destination(float *pixels, const int num_components);
Destination(const PassType pass_type, half4 *pixels);
/* Destination will be initialized with the number of components which is native for the given
* pass type. */