Re-enable sk_VertexID support on SwiftShader Vulkan
The vertex ID bug was specific to legacy GL SwiftShader. The unit test failure on the Vulkan cc_unittests was actually due to skia:12056. Bug: skia:11965 Bug: skia:12056 Bug: b/188239650 Change-Id: I0fd27c6e48a7a14d0367d2e7db7e4e70cd7dad1d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/415116 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
parent
a1a3afe951
commit
568ef84d3f
@ -589,11 +589,6 @@ 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