| Index: tests/FloatingPointTextureTest.cpp
|
| diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp
|
| index c5103c813fba95a28a153a42fc06d341382c6abc..f4de7435f0ba279e2dfa052a7e690ca1ff3f2a83 100644
|
| --- a/tests/FloatingPointTextureTest.cpp
|
| +++ b/tests/FloatingPointTextureTest.cpp
|
| @@ -65,6 +65,10 @@ void runFPTest(skiatest::Reporter* reporter, GrContextFactory* factory,
|
| if (nullptr == fpTexture) {
|
| continue;
|
| }
|
| +
|
| + fpTexture->setFromRawPixels(true);
|
| + fpTexture->setException(true);
|
| +
|
| fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer.begin(), 0);
|
| REPORTER_ASSERT(reporter,
|
| 0 == memcmp(readBuffer.begin(), controlPixelData.begin(), readBuffer.bytes()));
|
|
|