diff options
author | 2016-05-23 12:34:38 -0700 | |
---|---|---|
committer | 2016-05-23 12:34:38 -0700 | |
commit | 50134ccafdc509d4d430d068d7e68e38473ffe0a (patch) | |
tree | fa03ed7183361c5484ca2e5151f2278d30da03d5 /src/gpu/vk | |
parent | 566c8e4a36c51cb24d8bb97cc71b3eb26737c012 (diff) |
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
Diffstat (limited to 'src/gpu/vk')
-rw-r--r-- | src/gpu/vk/GrVkCaps.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp index aa5f71bc72..60934de2a7 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); |