mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 06:03:45 +00:00
Remove Adreno 200 support hacks
Signed-off-by: renderexpert <expert@renderconsulting.co.uk>
This commit is contained in:
committed by
Konstantin Pastbin
parent
897d7a253d
commit
a406462549
@@ -32,20 +32,6 @@ void SupportManager::Init(ref_ptr<GraphicsContext> context)
|
||||
m_rendererVersion = context->GetRendererVersion();
|
||||
LOG(LINFO, ("Renderer =", m_rendererName, "| Api =", context->GetApiVersion(), "| Version =", m_rendererVersion));
|
||||
|
||||
if (m_rendererName.find("Adreno") != std::string::npos)
|
||||
{
|
||||
std::array<std::string_view, 5> constexpr models = { "200", "203", "205", "220", "225" };
|
||||
for (auto const & model : models)
|
||||
{
|
||||
if (m_rendererName.find(model) != std::string::npos)
|
||||
{
|
||||
LOG(LINFO, ("Adreno 200 device detected."));
|
||||
m_isAdreno200 = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
m_isTegra = (m_rendererName.find("Tegra") != std::string::npos);
|
||||
if (m_isTegra)
|
||||
LOG(LINFO, ("NVidia Tegra device detected."));
|
||||
|
||||
Reference in New Issue
Block a user