[Bf-blender-cvs] [55661f7c21a] temp-multi-function-eval-varray: progress

Jacques Lucke noreply at git.blender.org
Wed Apr 6 16:18:14 CEST 2022


Commit: 55661f7c21aba43b520478c2be88a76546d47b17
Author: Jacques Lucke
Date:   Wed Apr 6 15:28:36 2022 +0200
Branches: temp-multi-function-eval-varray
https://developer.blender.org/rB55661f7c21aba43b520478c2be88a76546d47b17

progress

===================================================================

M	source/blender/blenlib/intern/generic_virtual_array.cc

===================================================================

diff --git a/source/blender/blenlib/intern/generic_virtual_array.cc b/source/blender/blenlib/intern/generic_virtual_array.cc
index 3764367b6b7..b105d4452fc 100644
--- a/source/blender/blenlib/intern/generic_virtual_array.cc
+++ b/source/blender/blenlib/intern/generic_virtual_array.cc
@@ -278,6 +278,16 @@ class GVArrayImpl_For_SingleValueRef : public GVArrayImpl {
   {
     type_->fill_construct_indices(value_, dst, mask);
   }
+
+  void materialize_compressed(const IndexMask mask, void *dst) const
+  {
+    type_->fill_assign_n(value_, dst, mask.size());
+  }
+
+  void materialize_compressed_to_uninitialized(const IndexMask mask, void *dst) const
+  {
+    type_->fill_construct_n(value_, dst, mask.size());
+  }
 };
 
 class GVArrayImpl_For_SingleValueRef_final final : public GVArrayImpl_For_SingleValueRef {



More information about the Bf-blender-cvs mailing list