Remove obsolete/commented-out TODO for Intel workarounds.

Change-Id: I518edbc3d64db409e7977e642acbe5b906016f60
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/512936
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
This commit is contained in:
John Stiles 2022-02-24 16:03:59 -05:00 committed by SkCQ
parent 320a4de77b
commit c4d2de3ab5

View File

@ -527,12 +527,8 @@ void GrMtlCaps::initShaderCaps() {
shaderCaps->fCanUseFastMath = true;
}
void GrMtlCaps::applyDriverCorrectnessWorkarounds(const GrContextOptions&,
const id<MTLDevice> device) {
// TODO: We may need to disable the fastmath option on Intel devices to avoid corruption
// if ([device.name rangeOfString:@"Intel"].location != NSNotFound) {
// fShaderCaps->fCanUseFastMath = false;
// }
void GrMtlCaps::applyDriverCorrectnessWorkarounds(const GrContextOptions&, const id<MTLDevice>) {
// We don't have any active Metal workarounds.
}
// Define this so we can use it to initialize arrays and work around