Skip to content

Commit

Permalink
fix get_map_entries_from_cmd_buffer (#24)
Browse files Browse the repository at this point in the history
Because of MAX, we can have a single null result. Let's filter it out.
  • Loading branch information
rjodinchr authored Apr 8, 2024
1 parent 8f15450 commit 7d8373f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extractor/extractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ bool get_map_entries_from_cmd_buffer(TraceProcessor *tp, uint64_t commandBuffer,
+ std::to_string(max_timestamp);
EXECUTE_QUERY_NO_CHECK(it_create_compute_pipelines, tp, query_create_compute_pipelines);
uint64_t create_compute_pipelines_timestamp = 0;
if (it_create_compute_pipelines.Next()) {
if (it_create_compute_pipelines.Next() && !it_create_compute_pipelines.Get(0).is_null()) {
create_compute_pipelines_timestamp = it_create_compute_pipelines.Get(0).AsLong();
assert(!it_create_compute_pipelines.Next());
}
Expand Down

0 comments on commit 7d8373f

Please sign in to comment.