Skip to content

Create way to not pass VUID as string in functions #12230

@spencer-lunarg

Description

@spencer-lunarg

Some offenders are

  • ValidateProtectedImage
  • ValidateProtectedBuffer
  • ValidateMemoryIsBoundToBuffer
  • ValidateBufferUsageFlags
  • ValidateDeviceAddressRange

I would rather use something like we do in cc_vuid_maps.cpp as it doesn't incur a constant string creation/copy each time these functions are call, assuming we don't need the VUs

These all have the issue around the fact they deal with copies which we sometimes have a different VU for the src and dst meaning we will need something where we make sure the Location has the vvl::Field to know which VUID to return

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions