TextureQueue does not empty

Hey there,

When clearing a TextureQueue, it seems that “empty” textures stay on its output. See this repro gif :

texture_queue

This is on 5.0-583

And a little snippet you can paste in a fresh patch :

Unfold me
<?xml version="1.0" encoding="utf-16"?>
<Patch xmlns:p="property" Id="LlOjg6u7PgKLJjkdtUcgw2" MergeId="5">
  <Canvas Id="FS9QI6KUBa2L03667oww1N" MergeId="4" CanvasType="Group">
    <Node Bounds="256,988,81,19" Id="GToQjeSuYFBNhVMcM4Da1O">
      <p:NodeReference LastCategoryFullName="Stride.Textures" LastDependency="VL.Stride.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <Choice Kind="ProcessAppFlag" Name="TextureQueue" />
      </p:NodeReference>
      <Pin Id="UUmIYgW7v1sOyElgjxkx3D" Name="Input" Kind="InputPin" />
      <Pin Id="Gm6CiFIf6g9LiZLpLhkJks" Name="Frame Count" Kind="InputPin" />
      <Pin Id="E7P9RJ10g3nMex4gth7ibZ" Name="Clear" Kind="InputPin" />
      <Pin Id="D4NtkyQUDO1PfVBnw45HK7" Name="Insert" Kind="InputPin" />
      <Pin Id="OOmXVeyDsGXOTAuZFhhF4D" Name="Output" Kind="OutputPin" />
    </Node>
    <Node Bounds="198,941,45,19" Id="Ifj4lLYKZLxOhZIsj29HBm">
      <p:NodeReference LastCategoryFullName="Stride.Textures.Source" LastDependency="VL.Stride.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <Choice Kind="ProcessNode" Name="Color" />
      </p:NodeReference>
      <Pin Id="DdCDAJj2dpEM6KmImBE6qF" Name="Color" Kind="InputPin" />
      <Pin Id="TSq7IbRGb5NM1lrCsDG6l8" Name="Output Size" Kind="InputPin" />
      <Pin Id="I0dAIkRHuuZLfJjNFqFh8x" Name="Enabled" Kind="InputPin" />
      <Pin Id="Fl3DyViQbULPbVORqzaXQE" Name="Output" Kind="OutputPin" />
    </Node>
    <Node Bounds="198,907,65,19" Id="PFtmCiG6IiePqjYrQvjmKX">
      <p:NodeReference LastCategoryFullName="Color.RGBA" LastDependency="VL.CoreLib.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <Choice Kind="OperationCallFlag" Name="FromHSL" />
      </p:NodeReference>
      <Pin Id="B3YCevutT5cODh29zkw1MF" Name="Hue" Kind="InputPin" />
      <Pin Id="P7pRGMACUvlL1AtQ5ifzZC" Name="Saturation" Kind="InputPin" />
      <Pin Id="TJsUr3F8qFXMJBTyA0SRSu" Name="Lightness" Kind="InputPin" />
      <Pin Id="Iq0ZTdDnE0BMQJsIru66ex" Name="Alpha" Kind="InputPin" />
      <Pin Id="S4oZhEJ8RAQMm5P9Eal7rI" Name="Result" Kind="OutputPin" />
    </Node>
    <Node Bounds="198,869,45,19" Id="BEu2mRsdfXHNaFV2UwvwXG">
      <p:NodeReference LastCategoryFullName="Animation" LastDependency="VL.CoreLib.vl">
        <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
        <Choice Kind="ProcessAppFlag" Name="LFO" />
      </p:NodeReference>
      <Pin Id="KO5HdobGmiwPniYCtazkhb" Name="Period" Kind="InputPin" />
      <Pin Id="QsFMoNcPaA0OdlroLh1VR9" Name="Pause" Kind="InputPin" />
      <Pin Id="BIm5wxp63BOMyWuUrKN3Ij" Name="Reset" Kind="ApplyPin" />
      <Pin Id="ND3cKjlRKuYNMUctGSkPA2" Name="Phase" Kind="OutputPin" />
      <Pin Id="VZJFPATdZ3LOX0yrSxMtmO" Name="On New Cycle" Kind="OutputPin" />
      <Pin Id="B0Gc8wYOuayO8qPVTe65eH" Name="Cycles" Kind="OutputPin" />
    </Node>
    <Pad Id="Uq1HTZy4odpNM6PomhmsLP" Comment="" Bounds="258,1029,190,132" ShowValueBox="true" isIOBox="true">
      <p:Value />
    </Pad>
    <Pad Id="IeLJ7nCcrhDQJNK7yQZnkV" Comment="Frame Count" Bounds="283,903,35,15" ShowValueBox="true" isIOBox="true" Value="50">
      <p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
        <Choice Kind="TypeFlag" Name="Integer32" />
      </p:TypeAnnotation>
    </Pad>
    <Pad Id="UkRmt6meiBYODoHlLcWGOX" Comment="Clear" Bounds="308,927,35,15" ShowValueBox="true" isIOBox="true" Value="False">
      <p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
        <Choice Kind="ImmutableTypeFlag" Name="Boolean" />
        <CategoryReference Kind="Category" Name="Primitive" />
      </p:TypeAnnotation>
      <p:ValueBoxSettings>
        <p:buttonmode p:Assembly="VL.UI.Forms" p:Type="VL.HDE.PatchEditor.Editors.ButtonModeEnum">Bang</p:buttonmode>
      </p:ValueBoxSettings>
    </Pad>
    <Pad Id="SpXqu5Dwb00NAibd0e476y" Comment="Insert" Bounds="334,965,35,15" ShowValueBox="true" isIOBox="true" Value="False">
      <p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
        <Choice Kind="ImmutableTypeFlag" Name="Boolean" />
        <CategoryReference Kind="Category" Name="Primitive" />
      </p:TypeAnnotation>
      <p:ValueBoxSettings>
        <p:buttonmode p:Assembly="VL.UI.Forms" p:Type="VL.HDE.PatchEditor.Editors.ButtonModeEnum">Toggle</p:buttonmode>
      </p:ValueBoxSettings>
    </Pad>
  </Canvas>
  <Link Id="Be7PXGrW8YBLt50wTPs8JS" Ids="Fl3DyViQbULPbVORqzaXQE,UUmIYgW7v1sOyElgjxkx3D" />
  <Link Id="ASAL3xnivlZMq6afFsCXww" Ids="S4oZhEJ8RAQMm5P9Eal7rI,DdCDAJj2dpEM6KmImBE6qF" />
  <Link Id="JL06DqG6A2jNKjWSsFlw8h" Ids="ND3cKjlRKuYNMUctGSkPA2,B3YCevutT5cODh29zkw1MF" />
  <Link Id="OgIsv95KcWoOCXWV8kzz49" Ids="OOmXVeyDsGXOTAuZFhhF4D,Uq1HTZy4odpNM6PomhmsLP" />
  <Link Id="GrTTN1WH6dRPt5Eno1iuKe" Ids="IeLJ7nCcrhDQJNK7yQZnkV,Gm6CiFIf6g9LiZLpLhkJks" />
  <Link Id="JusxKDZZc3hQCuY7Oa5o21" Ids="UkRmt6meiBYODoHlLcWGOX,E7P9RJ10g3nMex4gth7ibZ" />
  <Link Id="H9FdbfaSJC9QB3PLA55VQc" Ids="SpXqu5Dwb00NAibd0e476y,D4NtkyQUDO1PfVBnw45HK7" />
</Patch>

Thanks!

seb

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.