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
This commit is contained in:
egdaniel 2016-05-23 12:34:38 -07:00 committed by Commit bot
parent 566c8e4a36
commit 50134ccafd

View 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);