Index: src/gpu/vk/GrVkPipelineState.cpp |
diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp |
index 94d6305bc951a5eba89a6bc8839d94f7a6e15990..cb3751191cca84f07c4a1a531612e591723d1b44 100644 |
--- a/src/gpu/vk/GrVkPipelineState.cpp |
+++ b/src/gpu/vk/GrVkPipelineState.cpp |
@@ -487,8 +487,8 @@ void GrVkPipelineState::BuildStateKey(const GrPipeline& pipeline, GrPrimitiveTyp |
pipeline.getStencil().genKey(&b); |
- SkASSERT(sizeof(GrPipelineBuilder::DrawFace) <= sizeof(uint32_t)); |
- b.add32(pipeline.getDrawFace()); |
+ SkASSERT(sizeof(GrDrawFace) <= sizeof(uint32_t)); |
+ b.add32((int32_t)pipeline.getDrawFace()); |
b.add32(get_blend_info_key(pipeline)); |