Revert "Enable msaa ccpr on vulkan"
This reverts commit cb73b6250e
.
Reason for revert: Win10 crash is back
Original change's description:
> Enable msaa ccpr on vulkan
>
> TBR=egdaniel@google.com
>
> Bug: skia:9643
> Change-Id: Ie06891734b700c940b996a63c7b1264ce0f2597c
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/254808
> Reviewed-by: Chris Dalton <csmartdalton@google.com>
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
> Auto-Submit: Chris Dalton <csmartdalton@google.com>
TBR=egdaniel@google.com,csmartdalton@google.com
Change-Id: I5261d6143f6dce6f50cf712a6ecc28d6d999b210
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:9643
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255007
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
parent
cb73b6250e
commit
78fa08b279
@ -90,13 +90,11 @@ static constexpr GrUserStencilSettings kIncrDecrStencil(
|
||||
);
|
||||
|
||||
// Resolves stencil winding counts to A8 coverage. Leaves stencil values untouched.
|
||||
// NOTE: For the CCW face we intentionally use "1 == (stencil & 1)" because the contrapositive logic
|
||||
// (i.e. 0 != ...) causes bugs on Adreno Vulkan. http://skbug.com/9643
|
||||
static constexpr GrUserStencilSettings kResolveStencilCoverage(
|
||||
GrUserStencilSettings::StaticInitSeparate<
|
||||
0x0000, 0x0001,
|
||||
GrUserStencilTest::kNotEqual, GrUserStencilTest::kEqual,
|
||||
0xffff, 0x0001,
|
||||
0x0000, 0x0000,
|
||||
GrUserStencilTest::kNotEqual, GrUserStencilTest::kNotEqual,
|
||||
0xffff, 0x1,
|
||||
GrUserStencilOp::kKeep, GrUserStencilOp::kKeep,
|
||||
GrUserStencilOp::kKeep, GrUserStencilOp::kKeep,
|
||||
0xffff, 0xffff>()
|
||||
@ -108,7 +106,7 @@ static constexpr GrUserStencilSettings kResolveStencilCoverageAndReset(
|
||||
GrUserStencilSettings::StaticInitSeparate<
|
||||
0x0000, 0x0000,
|
||||
GrUserStencilTest::kNotEqual, GrUserStencilTest::kNotEqual,
|
||||
0xffff, 0x0001,
|
||||
0xffff, 0x1,
|
||||
GrUserStencilOp::kZero, GrUserStencilOp::kZero,
|
||||
GrUserStencilOp::kKeep, GrUserStencilOp::kKeep,
|
||||
0xffff, 0xffff>()
|
||||
|
@ -441,6 +441,10 @@ void GrVkCaps::applyDriverCorrectnessWorkarounds(const VkPhysicalDevicePropertie
|
||||
// GrCaps workarounds
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Temporarily disable the MSAA implementation of CCPR while we work out a crash on Win10
|
||||
// GTX660 and incorrect rendring on Adreno.
|
||||
fDriverBlacklistMSAACCPR = true;
|
||||
|
||||
if (kARM_VkVendor == properties.vendorID) {
|
||||
fInstanceAttribSupport = false;
|
||||
fAvoidWritePixelsFastPath = true; // bugs.skia.org/8064
|
||||
|
Loading…
Reference in New Issue
Block a user