mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-09 23:14:46 +01:00
gl: Add debug names to some objects
This commit is contained in:
parent
4a51302c58
commit
728d84b1fe
|
|
@ -152,6 +152,8 @@ namespace gl
|
|||
dst = data.get();
|
||||
dst->properties_encoding = match_key;
|
||||
m_temporary_surfaces.emplace_back(std::move(data));
|
||||
|
||||
dst->set_name(fmt::format("[Temp View] id=%u, fmt=0x%x", dst->id(), gcm_format));
|
||||
}
|
||||
|
||||
dst->add_ref();
|
||||
|
|
|
|||
|
|
@ -745,6 +745,7 @@ namespace gl
|
|||
|
||||
gl::upload_texture(cmd, section->get_raw_texture(), gcm_format, input_swizzled, subresource_layout);
|
||||
|
||||
section->get_raw_texture()->set_name(fmt::format("Raw Texture @0x%x", rsx_range.start));
|
||||
section->last_write_tag = rsx::get_shared_tag();
|
||||
return section;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -411,7 +411,7 @@ namespace gl
|
|||
auto result = view.get();
|
||||
views.emplace(key, std::move(view));
|
||||
|
||||
result->set_name(fmt::format("%s_%x", name(), remap.encoded));
|
||||
result->set_name(fmt::format("%s, remap=%x", name(), remap.encoded));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue