Commit 1f8de71
Fix SPIRVCopyMemory::validate() (#2770)
The asserts should be checking the `Target` member variable; `Id` is
not used for this class.
Only fix the wrong asserts for now; proper handling and testing of
`OpCopyMemory` will be done in a followup commit.
Contributes to KhronosGroup/SPIRV-LLVM-Translator#2769
Original commit:
KhronosGroup/SPIRV-LLVM-Translator@9d2926d27b478f01 parent bd2ac52 commit 1f8de71
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2244 | 2244 | | |
2245 | 2245 | | |
2246 | 2246 | | |
2247 | | - | |
2248 | | - | |
2249 | | - | |
2250 | | - | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
2251 | 2256 | | |
2252 | 2257 | | |
2253 | 2258 | | |
| |||
0 commit comments