From 55fa647596be0952464820b46724ce4f358de7f7 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Fri, 16 Mar 2018 16:13:10 -0400 Subject: Correctly discard or load RT when doing copies as draws in Vulkan This fixes all the copy as draw issues we've had with certain devices and the cap is no longer needed. Bug: skia: Change-Id: Id0b750849c4c920beae2d8cb3eda5f402018f194 Reviewed-on: https://skia-review.googlesource.com/114860 Commit-Queue: Greg Daniel Reviewed-by: Brian Salomon --- tests/VkMakeCopyPipelineTest.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/VkMakeCopyPipelineTest.cpp') diff --git a/tests/VkMakeCopyPipelineTest.cpp b/tests/VkMakeCopyPipelineTest.cpp index cb3cbe9e30..c8fe6f2a70 100644 --- a/tests/VkMakeCopyPipelineTest.cpp +++ b/tests/VkMakeCopyPipelineTest.cpp @@ -178,10 +178,6 @@ DEF_GPUTEST_FOR_VULKAN_CONTEXT(VkMakeCopyPipelineTest, reporter, ctxInfo) { GrContext* context = ctxInfo.grContext(); GrVkGpu* gpu = static_cast(context->contextPriv().getGpu()); - if (!gpu->vkCaps().supportsCopiesAsDraws()) { - return; - } - TestVkCopyProgram copyProgram; copyProgram.test(gpu, reporter); } -- cgit v1.2.3