Fix oval rendering in vulkan
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1739063002 Review URL: https://codereview.chromium.org/1739063002
This commit is contained in:
parent
d5722a4a1b
commit
67acb83ce9
@ -127,7 +127,6 @@ void GrSWMaskHelper::draw(const SkPath& path, const SkStrokeRec& stroke, SkRegio
|
||||
SkPaint paint;
|
||||
if (stroke.isHairlineStyle()) {
|
||||
paint.setStyle(SkPaint::kStroke_Style);
|
||||
paint.setStrokeWidth(SK_Scalar1);
|
||||
} else {
|
||||
if (stroke.isFillStyle()) {
|
||||
paint.setStyle(SkPaint::kFill_Style);
|
||||
|
@ -120,6 +120,8 @@ void GrVkCaps::initGLSLCaps(const GrVkInterface* interface, VkPhysicalDevice phy
|
||||
glslCaps->fConfigTextureSwizzle[i] = GrSwizzle::RGBA();
|
||||
}
|
||||
}
|
||||
|
||||
glslCaps->fShaderDerivativeSupport = true;
|
||||
}
|
||||
|
||||
static void format_supported_for_feature(const GrVkInterface* interface,
|
||||
|
Loading…
Reference in New Issue
Block a user