aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/vk
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2016-05-23 12:34:38 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-23 12:34:38 -0700
commit50134ccafdc509d4d430d068d7e68e38473ffe0a (patch)
treefa03ed7183361c5484ca2e5151f2278d30da03d5 /src/gpu/vk
parent566c8e4a36c51cb24d8bb97cc71b3eb26737c012 (diff)
Enable stencil wrap ops on vulkan
Diffstat (limited to 'src/gpu/vk')
-rw-r--r--src/gpu/vk/GrVkCaps.cpp3
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);