KhronosGroup / KhronosGroup/SPIRV-Reflect

Handle OpCopy* instructions

Open
#229 0 comments 0 reactions 1 assignee Claimed by @spencer-lunarg View on GitHub
bug
Dominant language
C
Stars
871
Forks
188
Avg merge
19m
Merged PRs (30d)
1

Description

while doing https://github.com/KhronosGroup/SPIRV-Reflect/pull/224 I realized that `OpCopy*` commands aren't correctly supported.

The following is accessing the `OpVariable` but because it goes through an `OpCopyObject` it doesn't notice it as `accessed`

```
%texture_image = OpVariable %ptr_texture UniformConstant
%var_copy = OpCopyObject %ptr_texture %texture_image
%load = OpLoad %10 %var_copy
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.