From 19504cde00a8397c0b26282c0fa5c9d25e4ffca4 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 24 May 2019 16:00:08 +0200 Subject: [PATCH 1/2] Fix #358 --- .../Geometry/Indirect/IndexIndirectDrawerBufferNode.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Nodes/VVVV.DX11.Nodes/Nodes/Geometry/Indirect/IndexIndirectDrawerBufferNode.cs b/Nodes/VVVV.DX11.Nodes/Nodes/Geometry/Indirect/IndexIndirectDrawerBufferNode.cs index 6a993820..118c8def 100644 --- a/Nodes/VVVV.DX11.Nodes/Nodes/Geometry/Indirect/IndexIndirectDrawerBufferNode.cs +++ b/Nodes/VVVV.DX11.Nodes/Nodes/Geometry/Indirect/IndexIndirectDrawerBufferNode.cs @@ -39,7 +39,7 @@ public class IndexIndirectDrawerBufferNode : IPluginEvaluate, IDX11ResourceHost [Output("Geometry Out")] protected ISpread> FOutGeom; - bool invalidate = false; + bool invalidate; public void Evaluate(int SpreadMax) { @@ -82,8 +82,6 @@ public void Update(DX11RenderContext context) geom.AssignDrawer(ind); ind.Update(context, this.FInCnt[i]); - - this.invalidate = false; } else { @@ -111,6 +109,8 @@ public void Update(DX11RenderContext context) this.FOutGeom[i][context] = geom; } + this.invalidate = false; + } public void Destroy(DX11RenderContext OnDevice, bool force) From 90cdf356f355959ad1848188d9e826bef10ba04c Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 24 May 2019 16:50:08 +0200 Subject: [PATCH 2/2] Fix #357 --- Nodes/VVVV.DX11.Nodes/Nodes/Generics/ConsNodes.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Nodes/VVVV.DX11.Nodes/Nodes/Generics/ConsNodes.cs b/Nodes/VVVV.DX11.Nodes/Nodes/Generics/ConsNodes.cs index 48bb52ed..bc546235 100644 --- a/Nodes/VVVV.DX11.Nodes/Nodes/Generics/ConsNodes.cs +++ b/Nodes/VVVV.DX11.Nodes/Nodes/Generics/ConsNodes.cs @@ -12,6 +12,9 @@ namespace VVVV.DX11.Nodes [PluginInfo(Name = "Cons", Category = "DX11.Geometry", Author = "vux")] public class ConsGeometryNode : DX11ResourceConsNode { } + [PluginInfo(Name = "Cons", Category = "DX11.IndexedGeometry", Author = "vux")] + public class ConsIndexedGeometryNode : DX11ResourceConsNode { } + [PluginInfo(Name = "Cons", Category = "DX11.Texture", Version = "3d", Author = "vux")] public class ConsTexture3DNode : DX11ResourceConsNode { } @@ -24,6 +27,12 @@ public class ConsTexture1DNode : DX11ResourceConsNode { } [PluginInfo(Name = "Cons", Category = "DX11.Buffer", Version = "", Author = "vux")] public class ConsBufferNode : DX11ResourceConsNode { } + [PluginInfo(Name = "Cons", Category = "DX11.Buffer RedableResource", Version = "", Author = "vux")] + public class ConsBufferResourceNode : DX11ResourceConsNode { } + + [PluginInfo(Name = "Cons", Category = "DX11.BufferRAW", Version = "", Author = "vux")] + public class ConsBufferRAWNode : DX11ResourceConsNode { } + [PluginInfo(Name = "Cons", Category = "DX11.ResourceSemantic", Version = "", Author = "vux")] public class ConsResourceSemanticNode : DX11ResourceConsNode { }