KhronosGroup / KhronosGroup/SPIRV-Tools

Refine the way in which hard-to-donate instructions are handled

Open
#3,278 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

An instruction may be hard to donate from one module to another if it uses operand ids that could not be donated.

Currently such instructions are replaced by OpCopyObject instructions that copy a constant of the required result type.

A more refined alternative would be to turn the operand ids that could not be donated into references to some other ids of appropriate type, so that an instruction similar to the original is donated.

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.