Reland "Enable vertex ID support on Metal"

This reverts commit 7069804621.

Bug: skia:12010
Change-Id: Ifbb17904e0157020481b3f98aaefb98df5150afb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/429298
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
Chris Dalton 2021-07-16 16:50:58 -06:00 committed by Skia Commit-Bot
parent a6648599b5
commit 38a6e5aa1a

View File

@ -475,7 +475,7 @@ void GrMtlCaps::initShaderCaps() {
shaderCaps->fIntegerSupport = true;
shaderCaps->fNonsquareMatrixSupport = true;
shaderCaps->fVertexIDSupport = false;
shaderCaps->fVertexIDSupport = true;
shaderCaps->fInfinitySupport = true;
// Metal uses IEEE float and half floats so assuming those values here.