Skip to content

Validation error when OpConstantNull is used to build a matrix #2793

@ehsannas

Description

@ehsannas

I get the following validation error for the following SPIR-V:

        %256 = OpConstantNull %v4float
        %257 = OpConstantComposite %mat3v4float %256 %256 %256

error:

OpConstantComposite Constituent <id> '256[%256]' is not a constant composite or undef.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions