Skip to content

IGPUDescriptorSet::validateWrite shouldn't crash if desc is nullptr #879

@Erfan-Ahmadi

Description

@Erfan-Ahmadi

I think one of the responsibilities of the validateWrite function is, well, to validate :D
I encountered a scenario where I was trying to write a nullptr image (failed image creation) to the set and it crashed in IGPUDescriptorSet::validateWrite in this line

I believe there needs to be a null check in there as well.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

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