KhronosGroup / KhronosGroup/SPIRV-Tools
Look for alternative ids to copy when failing to donate an instruction of an opaque type
Open
component:fuzzer
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
When the donor code cannot donate an instruction it tries to donate a copy of a constant instead. This does not work for types for which constants are not available, and in that scenario donation of the instruction is abandoned.
An alternative would be to look for suitable other ids that could be the target of an OpCopyObject.
Contributor guide
Assessment
This issue has not been assessed yet.