aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/FloatingPointTextureTest.cpp
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2014-12-12 05:58:06 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-12 05:58:06 -0800
commita60b2ead80c5442f35fb9109380ead98865e61be (patch)
tree4b01c193561810cb136b28dba344b7fb0186f745 /tests/FloatingPointTextureTest.cpp
parentb5f4961b30c99afa15775d63df6b605aaecdced8 (diff)
Fix float and half float support on mobile.
It's unclear what params should be used for half float alpha rendertargets, so they are disabled for the moment. Review URL: https://codereview.chromium.org/799593002
Diffstat (limited to 'tests/FloatingPointTextureTest.cpp')
-rw-r--r--tests/FloatingPointTextureTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp
index d6074b92fd..5cf1f0a449 100644
--- a/tests/FloatingPointTextureTest.cpp
+++ b/tests/FloatingPointTextureTest.cpp
@@ -127,7 +127,6 @@ DEF_GPUTEST(HalfFloatTextureTest, reporter, factory) {
fpTexture->writePixels(0, 0, DEV_W, DEV_H, desc.fConfig, controlPixelData, 0);
fpTexture->readPixels(0, 0, DEV_W, DEV_H, desc.fConfig, readBuffer, 0);
for (int j = 0; j < HALF_CONTROL_ARRAY_SIZE; ++j) {
- SkASSERT(readBuffer[j] == controlPixelData[j]);
REPORTER_ASSERT(reporter, readBuffer[j] == controlPixelData[j]);
}
}