Skip to content

spirv-fuzz: replace-id-with-synonym pass leads to non-memory object declaration being passed to function #2896

@afd

Description

@afd

The SPIR-V specification says that a function parameter, where a pointer type is required, must be a memory object declaration. Currently spirv-fuzz can violate this, e.g. by knowing that id %j is a copy of id %i, where %i is a memory object declaration, and using %j in place of %i in a call.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions