Fix R10X6BG10X6Biplanar420Unorm error on cros
This uses GetTestTextureData<uint8_t> instead.
Bug: dawn:551
Bug: chromium:1471362
Change-Id: I30450bae217afc81ccd94571ef37f29fe3028fbf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/148981
Commit-Queue: Jie A Chen <jie.a.chen@intel.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Peng Huang <penghuang@chromium.org>
diff --git a/src/dawn/tests/end2end/VideoViewsTests_gbm.cpp b/src/dawn/tests/end2end/VideoViewsTests_gbm.cpp
index 71886ef..0db3270 100644
--- a/src/dawn/tests/end2end/VideoViewsTests_gbm.cpp
+++ b/src/dawn/tests/end2end/VideoViewsTests_gbm.cpp
@@ -158,7 +158,7 @@
GBM_BO_TRANSFER_WRITE, &strideBytes, &mapHandle);
EXPECT_NE(addr, nullptr);
std::vector<uint8_t> initialData =
- VideoViewsTestsBase::GetTestTextureData(format, isCheckerboard);
+ VideoViewsTestsBase::GetTestTextureData<uint8_t>(format, isCheckerboard);
uint8_t* srcBegin = initialData.data();
uint8_t* srcEnd = srcBegin + initialData.size();
uint8_t* dstBegin = static_cast<uint8_t*>(addr);