Revert "Enable MSAA on Gen8 Intel GPUs"
This reverts commit 0bda1cc640
.
Reason for revert: Performance gap is fairly large.
Original change's description:
> Enable MSAA on Gen8 Intel GPUs
>
> Bug: skia:9225 chromium:527565
>
> Change-Id: I7c543bce011c247cd93cad90aca15c9754678202
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/225731
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Brian Osman <brianosman@google.com>
TBR=bsalomon@google.com,benjaminwagner@google.com,brianosman@google.com
Change-Id: I0e7f0bd53fbdcad0276462852021b9f3adc8ff6e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:9225 chromium:527565
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/226076
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
112ac7f19a
commit
8c4ee90b6c
@ -89,13 +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 (Gen8/9).
|
||||
if ('Iris655' not in bot and # Gen9
|
||||
'Iris640' not in bot and
|
||||
'Iris540' not in bot and
|
||||
'IntelHD405' not in bot and # Gen8
|
||||
'IntelHD6000' not in bot and
|
||||
'IntelIris6100' not 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 = ''
|
||||
elif 'ChromeOS' in bot:
|
||||
gl_prefix = 'gles'
|
||||
|
@ -445,7 +445,6 @@
|
||||
"_",
|
||||
"filltypespersp",
|
||||
"--match",
|
||||
"~^SRGBReadWritePixels$",
|
||||
"~^ClearOp$",
|
||||
"~^CopySurface$",
|
||||
"~^ImageNewShader_GPU$",
|
||||
|
@ -268,7 +268,6 @@
|
||||
"gl",
|
||||
"gldft",
|
||||
"glsrgb",
|
||||
"glmsaa8",
|
||||
"--src",
|
||||
"tests",
|
||||
"gm",
|
||||
@ -505,7 +504,6 @@
|
||||
"_",
|
||||
".SRW",
|
||||
"--match",
|
||||
"~^SRGBReadWritePixels$",
|
||||
"~^ProcessorCloneTest$",
|
||||
"~^GrMeshTest$",
|
||||
"--nonativeFonts",
|
||||
|
@ -276,8 +276,6 @@
|
||||
"angle_d3d9_es2",
|
||||
"angle_gl_es2",
|
||||
"angle_d3d11_es3",
|
||||
"angle_d3d11_es2_msaa8",
|
||||
"angle_d3d11_es3_msaa8",
|
||||
"--src",
|
||||
"tests",
|
||||
"gm",
|
||||
|
@ -127,13 +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 (Gen8/9).
|
||||
if ('Iris655' not in bot and # Gen9
|
||||
'Iris640' not in bot and
|
||||
'Iris540' not in bot and
|
||||
'IntelHD405' not in bot and # Gen8
|
||||
'IntelHD6000' not in bot and
|
||||
'IntelIris6100' not 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 = ''
|
||||
elif 'ChromeOS' in bot:
|
||||
gl_prefix = 'gles'
|
||||
@ -707,11 +702,7 @@ def dm_flags(api, bot):
|
||||
if api.vars.is_linux and 'IntelIris640' in bot:
|
||||
match.extend(['~GLPrograms']) # skia:7849
|
||||
|
||||
if ('IntelIris640' in bot or
|
||||
'IntelHD615' in bot or
|
||||
'IntelHDGraphics615' in bot or
|
||||
'IntelHD6000' in bot or
|
||||
'IntelHD405' in bot):
|
||||
if 'IntelIris640' in bot or 'IntelHD615' in bot or 'IntelHDGraphics615' in bot:
|
||||
match.append('~^SRGBReadWritePixels$') # skia:9225
|
||||
|
||||
if 'Vulkan' in bot and api.vars.is_linux and 'IntelHD405' in bot:
|
||||
|
@ -1096,10 +1096,10 @@ void GrGLCaps::initFSAASupport(const GrContextOptions& contextOptions, const GrG
|
||||
fMSFBOType = kNone_MSFBOType;
|
||||
}
|
||||
|
||||
// We disable MSAA for older (pre-Gen8) Intel GPUs for performance reasons.
|
||||
// CherryView (aka Braswell) is the first Gen8 chipset.
|
||||
// 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() < kIntelCherryView_GrGLRenderer ||
|
||||
(ctxInfo.renderer() < kIntelApolloLake_GrGLRenderer ||
|
||||
ctxInfo.renderer() == kOther_GrGLRenderer)) {
|
||||
fMSFBOType = kNone_MSFBOType;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user