From 50134ccafdc509d4d430d068d7e68e38473ffe0a Mon Sep 17 00:00:00 2001 From: egdaniel Date: Mon, 23 May 2016 12:34:38 -0700 Subject: [PATCH] Enable stencil wrap ops on vulkan BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2002213002 Review-Url: https://codereview.chromium.org/2002213002 --- src/gpu/vk/GrVkCaps.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp index aa5f71b..60934de 100644 --- a/src/gpu/vk/GrVkCaps.cpp +++ b/src/gpu/vk/GrVkCaps.cpp @@ -24,7 +24,7 @@ GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* fSRGBSupport = true; // always available in Vulkan fNPOTTextureTileSupport = true; // always available in Vulkan fTwoSidedStencilSupport = true; // always available in Vulkan - fStencilWrapOpsSupport = false; //TODO: figure this out + fStencilWrapOpsSupport = true; // always available in Vulkan fDiscardRenderTargetSupport = false; //TODO: figure this out fReuseScratchTextures = true; //TODO: figure this out fGpuTracingSupport = false; //TODO: figure this out @@ -41,7 +41,6 @@ GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* fMaxColorSampleCount = 4; // minimum required by spec fMaxStencilSampleCount = 4; // minimum required by spec - fShaderCaps.reset(new GrGLSLCaps(contextOptions)); this->init(contextOptions, vkInterface, physDev, featureFlags, extensionFlags); -- 2.7.4