Go back to blacklisting MSAA on all Intel GPUs
Skia's testing on Gen9 showed decent performance and quality, but Chrome has still been seeing driver crashes in the wild. Bug: chromium:527565 chromium:983926 Change-Id: I54f4f4013d313538da9afdab4d48ff232629152b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/234909 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
4c3fd34e00
commit
c385da4fc0
@ -191,7 +191,6 @@
|
||||
"--config",
|
||||
"gl",
|
||||
"glsrgb",
|
||||
"glmsaa8",
|
||||
"gles",
|
||||
"glessrgb",
|
||||
"--match",
|
||||
|
@ -89,9 +89,8 @@ def nanobench_flags(api, bot):
|
||||
'Nexus7' in bot):
|
||||
sample_count = ''
|
||||
elif 'Intel' in bot:
|
||||
# We don't want to test MSAA on older Intel chipsets. These are all newer (Gen9).
|
||||
if 'Iris655' not in bot and 'Iris640' not in bot and 'Iris540' not in bot:
|
||||
sample_count = ''
|
||||
# MSAA doesn't work well on Intel GPUs chromium:527565, chromium:983926
|
||||
sample_count = ''
|
||||
elif 'ChromeOS' in bot:
|
||||
gl_prefix = 'gles'
|
||||
|
||||
|
@ -127,9 +127,8 @@ def dm_flags(api, bot):
|
||||
if 'NVIDIA_Shield' not in bot:
|
||||
gl_prefix = 'gles'
|
||||
elif 'Intel' in bot:
|
||||
# We don't want to test MSAA on older Intel chipsets. These are all newer (Gen9).
|
||||
if 'Iris655' not in bot and 'Iris640' not in bot and 'Iris540' not in bot:
|
||||
sample_count = ''
|
||||
# MSAA doesn't work well on Intel GPUs chromium:527565, chromium:983926
|
||||
sample_count = ''
|
||||
elif 'ChromeOS' in bot:
|
||||
gl_prefix = 'gles'
|
||||
|
||||
@ -258,8 +257,8 @@ def dm_flags(api, bot):
|
||||
if 'iOS' in bot:
|
||||
configs.append('mtlmsaa4')
|
||||
else:
|
||||
# We don't want to test MSAA on older (pre-Gen9) Intel chipsets.
|
||||
if 'IntelHD6000' not in bot:
|
||||
# MSAA doesn't work well on Intel GPUs chromium:527565, chromium:983926
|
||||
if 'Intel' not in bot:
|
||||
configs.append('mtlmsaa8')
|
||||
|
||||
# Test 1010102 on our Linux/NVIDIA bots and the persistent cache config
|
||||
|
@ -33,8 +33,6 @@ enum GrIntelGpuFamily {
|
||||
|
||||
// 11th gen
|
||||
kIceLake_IntelGpuFamily,
|
||||
|
||||
kFirstGen9_IntelGpuFamily = kApolloLake_IntelGpuFamily,
|
||||
};
|
||||
|
||||
GrIntelGpuFamily GrGetIntelGpuFamily(uint32_t deviceID) {
|
||||
|
@ -1022,11 +1022,10 @@ void GrGLCaps::initFSAASupport(const GrContextOptions& contextOptions, const GrG
|
||||
fMSFBOType = kNone_MSFBOType;
|
||||
}
|
||||
|
||||
// We disable MSAA for older (pre-Gen9) Intel GPUs for performance reasons.
|
||||
// ApolloLake is the first Gen9 chipset.
|
||||
if (kIntel_GrGLVendor == ctxInfo.vendor() &&
|
||||
(ctxInfo.renderer() < kIntelApolloLake_GrGLRenderer ||
|
||||
ctxInfo.renderer() == kOther_GrGLRenderer)) {
|
||||
// We disable MSAA for all Intel GPUs. Before Gen9, performance was very bad. Even with Gen9,
|
||||
// we've seen driver crashes in the wild. We don't have data on Gen11 yet.
|
||||
// chromium:527565, chromium:983926
|
||||
if (kIntel_GrGLVendor == ctxInfo.vendor()) {
|
||||
fMSFBOType = kNone_MSFBOType;
|
||||
}
|
||||
}
|
||||
|
@ -1067,10 +1067,8 @@ void GrVkCaps::FormatInfo::initSampleCounts(const GrVkInterface* interface,
|
||||
return;
|
||||
}
|
||||
if (kIntel_VkVendor == physProps.vendorID) {
|
||||
// MSAA on Intel before Gen 9 is slow and/or buggy
|
||||
if (GrGetIntelGpuFamily(physProps.deviceID) < kFirstGen9_IntelGpuFamily) {
|
||||
return;
|
||||
}
|
||||
// MSAA doesn't work well on Intel GPUs chromium:527565, chromium:983926
|
||||
return;
|
||||
}
|
||||
if (flags & VK_SAMPLE_COUNT_2_BIT) {
|
||||
fColorSampleCounts.push_back(2);
|
||||
|
Loading…
Reference in New Issue
Block a user