commit | a95d46b4ac8e41c9beb2b750cd389b1c6ebaf0a7 | [log] [tgz] |
---|---|---|
author | egdaniel <egdaniel@google.com> | Mon Aug 15 08:06:29 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Aug 15 08:06:29 2016 -0700 |
tree | 31ce237b1f3931a9ccdc4d41672d5762b58e8abe | |
parent | ced26a3d6b77d3a6744a8ccb8eff23eda45fc867 [diff] [blame] |
Fix copying of data in vulkan testing texture BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2248703002 Review-Url: https://codereview.chromium.org/2248703002
diff --git a/tests/VkUploadPixelsTests.cpp b/tests/VkUploadPixelsTests.cpp index 7f00ad2..8b6a56b 100644 --- a/tests/VkUploadPixelsTests.cpp +++ b/tests/VkUploadPixelsTests.cpp
@@ -66,7 +66,7 @@ // the expectation is that the given config is texturable/renderable with optimal tiling // but may not be with linear tiling if (linearTiling) { - if (!caps->isConfigTexurableLinearly(config) || + if (!caps->isConfigTexturableLinearly(config) || (renderTarget && !caps->isConfigRenderableLinearly(config, false))) { canCreate = false; }