aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/vk/GrVkPipelineState.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-05-08 11:10:10 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-08 16:50:04 +0000
commitf0861675d7fdef3f8f51a586c6ddfbcecdc4cb0a (patch)
tree8b0289a9196d293c885c472da067c30fe69725e6 /src/gpu/vk/GrVkPipelineState.cpp
parentbe4c9b0a8b9a508cf0de66c0fa401fc1217a32db (diff)
Remove support for GLs without separate stencil.
As a consequence we no longer need GrDrawFace. This effectively raises the minimum bar for non-ES OpenGL to 2.0 as there is no extension that adds the GL 2.0 separate stencil functionality. GL_ATI_separate_stencil is close but it does not have glStencilMaskSeparate. Bug: skia: Change-Id: I36d17a69400c8beeacb6dab8d8c5c3317814cfe4 Reviewed-on: https://skia-review.googlesource.com/15603 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/vk/GrVkPipelineState.cpp')
-rw-r--r--src/gpu/vk/GrVkPipelineState.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp
index 458a94ee02..ef0a96297e 100644
--- a/src/gpu/vk/GrVkPipelineState.cpp
+++ b/src/gpu/vk/GrVkPipelineState.cpp
@@ -517,9 +517,6 @@ bool GrVkPipelineState::Desc::Build(Desc* desc,
stencil.genKey(&b);
- SkASSERT(sizeof(GrDrawFace) <= sizeof(uint32_t));
- b.add32((int32_t)pipeline.getDrawFace());
-
b.add32(get_blend_info_key(pipeline));
b.add32(primitiveType);