Commit 3634fdf
committed
Ensure resource IDs for MEC resources are unique.
If the first command in the trace creates resources, their IDs would match
the IDs generated for the resources serialized as part of the MEC state.
This happened because the command ID used to generate the resource IDs
for the MEC resources was the same as that of the first command. This would
result in the first MEC resource to get ID 0xdd3d... and the first
resource of the traced commands to get a matching ID. This change fixes
this, by ensuring the MEC resources get gen'ed off a unique command ID.1 parent 5975a39 commit 3634fdf
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments