Disable vertex ID support on SwiftShader
Once this is fixed we can hopefully check the version number before disabling. Bug: skia:11965 Bug: b/188239650 Change-Id: Idc29058e23c6e1750555165ba57b695a7cc0f925 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/409338 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
parent
5108c6848f
commit
5bd3a5c351
@ -4105,6 +4105,11 @@ void GrGLCaps::applyDriverCorrectnessWorkarounds(const GrGLContextInfo& ctxInfo,
|
||||
ctxInfo.renderer() == GrGLRenderer::kAdreno640) {
|
||||
fAvoidReorderingRenderTasks = true;
|
||||
}
|
||||
|
||||
// http://skbug.com/11965
|
||||
if (ctxInfo.renderer() == GrGLRenderer::kGoogleSwiftShader) {
|
||||
fShaderCaps->fVertexIDSupport = false;
|
||||
}
|
||||
}
|
||||
|
||||
void GrGLCaps::onApplyOptionsOverrides(const GrContextOptions& options) {
|
||||
|
@ -589,6 +589,11 @@ void GrVkCaps::applyDriverCorrectnessWorkarounds(const VkPhysicalDevicePropertie
|
||||
if (kImagination_VkVendor == properties.vendorID) {
|
||||
fShaderCaps->fAtan2ImplementedAsAtanYOverX = true;
|
||||
}
|
||||
|
||||
// http://skbug.com/11965
|
||||
if (strstr(properties.deviceName, "SwiftShader")) {
|
||||
fShaderCaps->fVertexIDSupport = false;
|
||||
}
|
||||
}
|
||||
|
||||
void GrVkCaps::initGrCaps(const GrVkInterface* vkInterface,
|
||||
|
Loading…
Reference in New Issue
Block a user