summaryrefslogtreecommitdiffstats
path: root/tools/render-test/bind-location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/bind-location.cpp')
-rw-r--r--tools/render-test/bind-location.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/render-test/bind-location.cpp b/tools/render-test/bind-location.cpp
index 6548e861c..30b9de0f8 100644
--- a/tools/render-test/bind-location.cpp
+++ b/tools/render-test/bind-location.cpp
@@ -551,6 +551,14 @@ void BindSet::getBindings(List<BindLocation>& outLocations, List<Value*>& outRes
}
}
+void BindSet::releaseValueTargets()
+{
+ for (Value* value : m_values)
+ {
+ value->m_target.setNull();
+ }
+}
+
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BindLocation !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
BindLocation::BindLocation(slang::TypeLayoutReflection* typeLayout, const BindPoints& points, BindSet_Value* value) :