Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Zero-sized buffers? #546

@bbernhar

Description

@bbernhar

Is it legal to create a zero-sized buffer? For example, what is the expected result of bufferDesc.size = 0?

Note: D3D12 does not allow "zero-sized" buffers and Vulkan seems driver-specific (may reject). Not certain of Metal. IIRC, WebGL validates for non-zero sizes at creation-time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions