[Impeller] disable Adreno 506. (flutter/engine#56210)
Fixes https://github.com/flutter/flutter/issues/155185
This commit is contained in:
@@ -338,13 +338,17 @@ bool DriverInfoVK::IsKnownBadDriver() const {
|
||||
if (adreno_gpu_.has_value()) {
|
||||
auto adreno = adreno_gpu_.value();
|
||||
switch (adreno) {
|
||||
// see:
|
||||
// See:
|
||||
// https://github.com/flutter/flutter/issues/154103
|
||||
//
|
||||
// Reports "VK_INCOMPLETE" when compiling certain entity shader with
|
||||
// vkCreateGraphicsPipelines, which is not a valid return status.
|
||||
// See https://github.com/flutter/flutter/issues/155185 .
|
||||
case AdrenoGPU::kAdreno630:
|
||||
// See:
|
||||
// https://github.com/flutter/flutter/issues/155185
|
||||
// Unknown crashes but device is not easily acquirable.
|
||||
case AdrenoGPU::kAdreno506:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
||||
@@ -126,9 +126,10 @@ TEST(DriverInfoVKTest, EnabledDevicesAdreno) {
|
||||
EXPECT_FALSE(IsBadVersionTest("Adreno (TM) 512"));
|
||||
EXPECT_FALSE(IsBadVersionTest("Adreno (TM) 509"));
|
||||
EXPECT_FALSE(IsBadVersionTest("Adreno (TM) 508"));
|
||||
EXPECT_FALSE(IsBadVersionTest("Adreno (TM) 506"));
|
||||
EXPECT_FALSE(IsBadVersionTest("Adreno (TM) 505"));
|
||||
EXPECT_FALSE(IsBadVersionTest("Adreno (TM) 504"));
|
||||
|
||||
EXPECT_TRUE(IsBadVersionTest("Adreno (TM) 506"));
|
||||
}
|
||||
|
||||
} // namespace impeller::testing
|
||||
|
||||
Reference in New Issue
Block a user