KhronosGroup / KhronosGroup/SPIRV-Tools

Look for alternative ids to copy when failing to donate an instruction of an opaque type

Open
#3,279 0 comments 0 reactions 1 assignee Claimed by @afd View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.