Skip to content

CmdUpdateBuffer pData parameter should be const #981

@jduncanator

Description

@jduncanator

Summary

The generated bindings for vkCmdUpdateBuffer have the pData parameter marked as ref (or Span<T> for the Span overloads), rather than in or ReadOnlySpan<T>. The official documentation for vkCmdUpdateBuffer has the pData parameter marked const.

These parameters should be treated like other const parameters, and take an in or ReadOnlySpan<T> argument.

Steps to reproduce

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions