Skip to content

spirv-val: version number in header not checked that it is a valid version number #3831

@zoddicus

Description

@zoddicus

An unknown/invalid value like 0x00010021 will be accepted.
If further a tool further down the chain, i.e. spirv-cross, is more strict about the version numbers this can cause problems.

In spvBinaryHeaderGet there is a TODO about validation.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions