| Index: tests/VkWrapTests.cpp
|
| diff --git a/tests/VkWrapTests.cpp b/tests/VkWrapTests.cpp
|
| index fb434a2f26a4a9774af9a25adb443e933c2b4706..b3456c28ba9245b15d19c6b4ae9f8ee3d6a1186d 100644
|
| --- a/tests/VkWrapTests.cpp
|
| +++ b/tests/VkWrapTests.cpp
|
| @@ -54,7 +54,7 @@ void wrap_tex_test(skiatest::Reporter* reporter, GrContext* context) {
|
|
|
| // alloc is null
|
| backendCopy.fImage = backendTex->fImage;
|
| - backendCopy.fAlloc = { VK_NULL_HANDLE, 0, 0 };
|
| + backendCopy.fAlloc = { VK_NULL_HANDLE, 0, 0, 0 };
|
| tex = gpu->wrapBackendTexture(desc, kBorrow_GrWrapOwnership);
|
| REPORTER_ASSERT(reporter, !tex);
|
| tex = gpu->wrapBackendTexture(desc, kAdopt_GrWrapOwnership);
|
| @@ -100,7 +100,7 @@ void wrap_rt_test(skiatest::Reporter* reporter, GrContext* context) {
|
|
|
| // alloc is null
|
| backendCopy.fImage = backendTex->fImage;
|
| - backendCopy.fAlloc = { VK_NULL_HANDLE, 0, 0 };
|
| + backendCopy.fAlloc = { VK_NULL_HANDLE, 0, 0, 0 };
|
| // can wrap null alloc if borrowing
|
| rt = gpu->wrapBackendRenderTarget(desc, kBorrow_GrWrapOwnership);
|
| REPORTER_ASSERT(reporter, rt);
|
| @@ -146,7 +146,7 @@ void wrap_trt_test(skiatest::Reporter* reporter, GrContext* context) {
|
|
|
| // alloc is null
|
| backendCopy.fImage = backendTex->fImage;
|
| - backendCopy.fAlloc = { VK_NULL_HANDLE, 0, 0 };
|
| + backendCopy.fAlloc = { VK_NULL_HANDLE, 0, 0, 0 };
|
| tex = gpu->wrapBackendTexture(desc, kBorrow_GrWrapOwnership);
|
| REPORTER_ASSERT(reporter, !tex);
|
| tex = gpu->wrapBackendTexture(desc, kAdopt_GrWrapOwnership);
|
|
|