Skip to content

Conversation

ArberSephirotheca
Copy link

@ArberSephirotheca ArberSephirotheca commented Jun 30, 2025

This PR add optional field Fill and Size for buffer stage in the pipeline.
Fill specifies the value to use, and Size determines the number of entries. Together they initialize the buffer with repeated Fill values.

The common use case is when you want to create a larger buffer that fill with a known value

  - Name: Buffer
    Format: UInt32
    Stride: 4
    Fill: 1
    Size: 1234578

This creates a UInt32 buffer with 1234578 entries and filled with 1s.

Fill specifies the value to use, and Size determines the number of entries.
Together they initialize the buffer with repeated Fill values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant