| Index: tests/ClipStackTest.cpp
|
| diff --git a/tests/ClipStackTest.cpp b/tests/ClipStackTest.cpp
|
| index 5265ac2c670a97c06f9044339020b90ec1196d7c..1b096588c3a0ed6a5849fda73830dafc4e9e0951 100644
|
| --- a/tests/ClipStackTest.cpp
|
| +++ b/tests/ClipStackTest.cpp
|
| @@ -1196,6 +1196,8 @@ static void test_aa_query(skiatest::Reporter* reporter, const SkString& testName
|
| switch (expectedMethod) {
|
| case ClipMethod::kSkipDraw:
|
| SkASSERT(0 == numExpectedElems);
|
| + REPORTER_ASSERT_MESSAGE(reporter, SkClipStack::kEmptyGenID == reduced.genID(),
|
| + testName.c_str());
|
| REPORTER_ASSERT_MESSAGE(reporter, reduced.elements().isEmpty(), testName.c_str());
|
| REPORTER_ASSERT_MESSAGE(reporter,
|
| GrReducedClip::InitialState::kAllOut == reduced.initialState(),
|
| @@ -1203,6 +1205,9 @@ static void test_aa_query(skiatest::Reporter* reporter, const SkString& testName
|
| return;
|
| case ClipMethod::kIgnoreClip:
|
| SkASSERT(0 == numExpectedElems);
|
| + SkASSERT(SkClipStack::kWideOpenGenID == reduced.genID());
|
| + REPORTER_ASSERT_MESSAGE(reporter, SkClipStack::kWideOpenGenID == reduced.genID(),
|
| + testName.c_str());
|
| REPORTER_ASSERT_MESSAGE(reporter,
|
| !reduced.hasIBounds() ||
|
| GrClip::IsInsideClip(reduced.ibounds(), queryBounds),
|
|
|