Revert "Enable vertex ID support on Metal"
This reverts commit 6f520cd120
.
Reason for revert: Mixed perf results (including Flutter). skbug.com/12010
Original change's description:
> Enable vertex ID support on Metal
>
> This allows the tessellated stroke renderer to run on Metal.
>
> Change-Id: Ia6bd4008a3310cd316abdc2715efcec3916c6bfa
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/408358
> Reviewed-by: Chris Dalton <csmartdalton@google.com>
> Commit-Queue: Brian Osman <brianosman@google.com>
# Not skipping CQ checks because original CL landed > 1 day ago.
Change-Id: I8e01bcd6abf0ebcc80ba63194050cc70c53f43c6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/409401
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
ec978bbc4d
commit
7069804621
@ -473,7 +473,7 @@ void GrMtlCaps::initShaderCaps() {
|
||||
|
||||
shaderCaps->fIntegerSupport = true;
|
||||
shaderCaps->fNonsquareMatrixSupport = true;
|
||||
shaderCaps->fVertexIDSupport = true;
|
||||
shaderCaps->fVertexIDSupport = false;
|
||||
|
||||
// Metal uses IEEE float and half floats so assuming those values here.
|
||||
shaderCaps->fFloatIs32Bits = true;
|
||||
|
Loading…
Reference in New Issue
Block a user