Enable stencil wrap ops on vulkan
authoregdaniel <egdaniel@google.com>
Mon, 23 May 2016 19:34:38 +0000 (12:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 23 May 2016 19:34:38 +0000 (12:34 -0700)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2002213002

Review-Url: https://codereview.chromium.org/2002213002

src/gpu/vk/GrVkCaps.cpp

index aa5f71b..60934de 100644 (file)
@@ -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);