Cleanup: Cycles: remove unused function
This commit is contained in:
committed by
Weizhen Huang
parent
872528814e
commit
c0843f0649
@@ -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);
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user