From cc08a3db43f333bb1195d0d5fd8d6c6dd552f8b9 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 12 Jun 2018 11:03:59 -0700 Subject: [PATCH] Fix protected memory buffer tests to do proper operation Update and copy variants of these tests were doing the FILL operation instead. Change-Id: Iede9e71f50c1d2d5699b35ad9b86fc6237714977 Components: Vulkan Affects: dEQP-VK.protected_memory.buffer.* VK-GL-CTS: 1215 (cherry picked from commit 39fbe90f21cb24b46e1bbc2d49e75604453977c0) --- .../vktProtectedMemFillUpdateCopyBufferTests.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemFillUpdateCopyBufferTests.cpp b/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemFillUpdateCopyBufferTests.cpp index 6a424a0..f6b51dc 100644 --- a/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemFillUpdateCopyBufferTests.cpp +++ b/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemFillUpdateCopyBufferTests.cpp @@ -707,9 +707,9 @@ tcu::TestCaseGroup* createUpdateBufferTests (tcu::TestContext& testCtx) { de::MovePtr updateTests (new tcu::TestCaseGroup(testCtx, "update", "Update Buffer Tests")); - updateTests->addChild(createFillUpdateCopyBufferFloatTests(testCtx, FILL_BUFFER)); - updateTests->addChild(createFillUpdateCopyBufferIntegerTests(testCtx, FILL_BUFFER)); - updateTests->addChild(createFillUpdateCopyBufferUnsignedTests(testCtx, FILL_BUFFER)); + updateTests->addChild(createFillUpdateCopyBufferFloatTests(testCtx, UPDATE_BUFFER)); + updateTests->addChild(createFillUpdateCopyBufferIntegerTests(testCtx, UPDATE_BUFFER)); + updateTests->addChild(createFillUpdateCopyBufferUnsignedTests(testCtx, UPDATE_BUFFER)); return updateTests.release(); } @@ -718,9 +718,9 @@ tcu::TestCaseGroup* createCopyBufferTests (tcu::TestContext& testCtx) { de::MovePtr copyTests (new tcu::TestCaseGroup(testCtx, "copy", "Copy Buffer Tests")); - copyTests->addChild(createFillUpdateCopyBufferFloatTests(testCtx, FILL_BUFFER)); - copyTests->addChild(createFillUpdateCopyBufferIntegerTests(testCtx, FILL_BUFFER)); - copyTests->addChild(createFillUpdateCopyBufferUnsignedTests(testCtx, FILL_BUFFER)); + copyTests->addChild(createFillUpdateCopyBufferFloatTests(testCtx, COPY_BUFFER)); + copyTests->addChild(createFillUpdateCopyBufferIntegerTests(testCtx, COPY_BUFFER)); + copyTests->addChild(createFillUpdateCopyBufferUnsignedTests(testCtx, COPY_BUFFER)); return copyTests.release(); } -- 2.7.4