54 std::move(inputs), std::move(outputs), std::nullopt,
nullptr);
59 inputs.append({input->name, input->typeinfo});
76 std::move(inputs), std::move(outputs), closure_source_location,
nullptr);
84 if (!
result.is_allocated()) {
91 if (!
result.is_single_value()) {
93 {socket.owner_node().identifier,
95 get_image_info_log(logger.allocator, result)});
101 {socket.owner_node().identifier,
103 get_closure_info_log(logger.allocator, result)});
109 {socket.owner_node().identifier,
111 get_bundle_info_log(context, logger.allocator, result)});
#define BLI_SCOPED_DEFER(function_to_defer)
const ComputeContextHash & hash() const
destruct_ptr< T > construct(Args &&...args)
const bNode * output_node() const
const bNode * input_node() const
static Result get_result(Context &context, const nodes::BundleItemValue &item_value)
const ComputeContext & compute_context
const bke::bNodeTreeZone & zone
RealizationOptions realization_options
static const char * type_name(const ResultType type)
static ResultType type(gpu::TextureFormat format)
linear_allocator::ChunkedList< SocketValueLog, 16 > input_socket_values
LinearAllocator * allocator
linear_allocator::ChunkedList< SocketValueLog, 16 > output_socket_values
void log_value(const bNode &node, const bNodeSocket &socket, GPointer value)
StringRefNull to_string(const Interpolation &interpolation)
static destruct_ptr< nodes::eval_log::BundleValueLog > get_bundle_info_log(Context &context, LinearAllocator<> *allocator, const Result &result)
void log_result(Context &context, nodes::eval_log::NodeTreeLogger &logger, const bNodeSocket &socket, const Result &result)
ImplicitSharingPtr< Closure > ClosurePtr
static destruct_ptr< nodes::eval_log::ClosureValueLog > get_closure_info_log(LinearAllocator<> *allocator, const Result &result)
static destruct_ptr< nodes::eval_log::ImageInfoLog > get_image_info_log(LinearAllocator<> *allocator, const Domain &domain, const ResultPrecision &precision)
bool is_socket_available(const bNodeSocket *socket)
ImplicitSharingPtr< Bundle > BundlePtr
std::unique_ptr< T, DestructValueAtAddress< T > > destruct_ptr
Interpolation interpolation