Skip to content

InstBuffAddrCheckPass should not use null physical storage buffer pointers #2929

@alan-baker

Description

@alan-baker

KhronosGroup/SPIRV-Registry#51 updated the EXT version of the extensions and KhronosGroup/SPIRV-Registry#50 updated the KHR version. Physical storage buffer pointers cannot be used with OpConstantNull (or OpPtrEqual, OpPtrNotEqual or OpPtrDiff).

The pass should instead convert the pointer before generating the OpPhi and use a 64-bit integer or uvec2 0 value.

@greg-lunarg, I am disabling validation in one of the tests until this is resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions