From ff7eb1641e92a39357e2895361d18e73d011de24 Mon Sep 17 00:00:00 2001 From: James Price Date: Wed, 16 Jun 2021 16:58:39 +0000 Subject: [PATCH] Metal: Run vertex pulling when using Tint The config was already being set, but the transform itself was not being added to the manager. Bug: dawn:571 Change-Id: I850d5b0f37635598427b4a3a3285d243b89fad46 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/54721 Commit-Queue: James Price Commit-Queue: Corentin Wallez Auto-Submit: James Price Reviewed-by: Corentin Wallez --- src/dawn_native/metal/ShaderModuleMTL.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dawn_native/metal/ShaderModuleMTL.mm b/src/dawn_native/metal/ShaderModuleMTL.mm index a923fe6c75..80c7e88f77 100644 --- a/src/dawn_native/metal/ShaderModuleMTL.mm +++ b/src/dawn_native/metal/ShaderModuleMTL.mm @@ -105,6 +105,7 @@ namespace dawn_native { namespace metal { if (stage == SingleShaderStage::Vertex && GetDevice()->IsToggleEnabled(Toggle::MetalEnableVertexPulling)) { + transformManager.Add(); AddVertexPullingTransformConfig(*vertexState, entryPointName, kPullingBufferBindingSet, &transformInputs);