From: Matthew Netsch Date: Fri, 5 Apr 2019 20:19:29 +0000 (-0400) Subject: Fixed buffer memory type for protected test X-Git-Tag: upstream/1.3.5~2002^2~32^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1675d60823d2987625a48a47277fc4b4163f9eb7;p=platform%2Fupstream%2FVK-GL-CTS.git Fixed buffer memory type for protected test Components: Vulkan VK-GL-CTS issue: 1727 Affects: dEQP-VK.protected_memory.* Change-Id: I07c5a57591f37aff558e3a634faa45ab33b2f776 --- diff --git a/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemBufferValidator.hpp b/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemBufferValidator.hpp index ac77ff0..8a7414d 100644 --- a/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemBufferValidator.hpp +++ b/external/vulkancts/modules/vulkan/protected_memory/vktProtectedMemBufferValidator.hpp @@ -204,7 +204,7 @@ bool BufferValidator::validateBuffer (ProtectedContext& ctx, queueFamilyIndex, helperBufferSize, vk::VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, - vk::MemoryRequirement::Any)); + vk::MemoryRequirement::Protected)); vk::Unique resetSSBOShader (vk::createShaderModule(vk, device, ctx.getBinaryCollection().get("ResetSSBO"), 0)); vk::Unique validatorShader (vk::createShaderModule(vk, device, ctx.getBinaryCollection().get("BufferValidator"), 0));