From: Jason Ekstrand Date: Wed, 1 Jun 2016 21:04:26 +0000 (-0700) Subject: rasterization: Use LOAD_OP_DONT_CARE for the resolve attachment X-Git-Tag: upstream/0.1.0~662^2~86^2~62^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a45b29e61dae4299e07d553813e4010ee0a341c;p=platform%2Fupstream%2FVK-GL-CTS.git rasterization: Use LOAD_OP_DONT_CARE for the resolve attachment It used to use LOAD_OP_CLEAR for the resolve attachment but only provided one clear value which led to an out-of-bounds read. --- diff --git a/external/vulkancts/modules/vulkan/rasterization/vktRasterizationTests.cpp b/external/vulkancts/modules/vulkan/rasterization/vktRasterizationTests.cpp index 9d41351..6f55d98 100644 --- a/external/vulkancts/modules/vulkan/rasterization/vktRasterizationTests.cpp +++ b/external/vulkancts/modules/vulkan/rasterization/vktRasterizationTests.cpp @@ -386,7 +386,7 @@ BaseRenderingTestInstance::BaseRenderingTestInstance (Context& context, VkSample 0u, // VkAttachmentDescriptionFlags flags; m_imageFormat, // VkFormat format; VK_SAMPLE_COUNT_1_BIT, // VkSampleCountFlagBits samples; - VK_ATTACHMENT_LOAD_OP_CLEAR, // VkAttachmentLoadOp loadOp; + VK_ATTACHMENT_LOAD_OP_DONT_CARE, // VkAttachmentLoadOp loadOp; VK_ATTACHMENT_STORE_OP_STORE, // VkAttachmentStoreOp storeOp; VK_ATTACHMENT_LOAD_OP_DONT_CARE, // VkAttachmentLoadOp stencilLoadOp; VK_ATTACHMENT_STORE_OP_DONT_CARE, // VkAttachmentStoreOp stencilStoreOp;