Nabla icon indicating copy to clipboard operation
Nabla copied to clipboard

`IGPUDescriptorSet::validateWrite` shouldn't crash if desc is nullptr

Open Erfan-Ahmadi opened this issue 6 months ago • 0 comments

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.

Erfan-Ahmadi avatar May 21 '25 10:05 Erfan-Ahmadi