Merge vk-gl-cts/vulkan-cts-1.3.4 into vk-gl-cts/vulkan-cts-1.3.5
authorPiotr Byszewski <piotr.byszewski@mobica.com>
Mon, 30 Jan 2023 08:38:48 +0000 (09:38 +0100)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Mon, 30 Jan 2023 08:38:48 +0000 (09:38 +0100)
Change-Id: Idb97b061d30a64beae623ba5f4a1b30b0ee10d63

1  2 
external/vulkancts/modules/vulkan/image/vktImageCompressionTranscodingSupport.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineStencilTests.cpp
external/vulkancts/modules/vulkan/query_pool/vktQueryPoolStatisticsTests.cpp
external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingBuildTests.cpp

@@@ -640,8 -640,7 +640,7 @@@ StencilTestInstance::StencilTestInstanc
  
                        m_graphicsPipelines[quadNdx].setDefaultRasterizerDiscardEnable(!m_colorAttachmentEnable)
                                                                                .setDefaultMultisampleState()
-                                                                               .setDefaultColorBlendState()
 -                                                                              .setupVertexInputStete(&vertexInputStateParams)
 +                                                                              .setupVertexInputState(&vertexInputStateParams)
                                                                                .setupPreRasterizationShaderState(viewports,
                                                                                                                                                  scissors,
                                                                                                                                                  *m_pipelineLayout,
@@@ -488,11 -447,12 +488,11 @@@ de::MovePtr<BufferWithMemory> RayTracin
        {
                cmdPipelineImageMemoryBarrier(vkd, *cmdBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, &preImageBarrier);
                vkd.cmdClearColorImage(*cmdBuffer, **image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clearValue.color, 1, &imageSubresourceRange);
-               cmdPipelineImageMemoryBarrier(vkd, *cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, &postImageBarrier);
+               cmdPipelineImageMemoryBarrier(vkd, *cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR, &postImageBarrier);
  
 -              bottomLevelAccelerationStructures = initBottomAccelerationStructures(*cmdBuffer, useGpuBuild, workerThreadsCount);
 -              topLevelAccelerationStructure = initTopAccelerationStructure(*cmdBuffer, useGpuBuild, workerThreadsCount, bottomLevelAccelerationStructures);
 +              topLevelAccelerationStructure = initTopAccelerationStructure(useGpuBuild, workerThreadsCount, blasPool);
 +              createTopAccelerationStructure(*cmdBuffer, topLevelAccelerationStructure.get());
  
 -              const TopLevelAccelerationStructure*                    topLevelAccelerationStructurePtr                = topLevelAccelerationStructure.get();
                VkWriteDescriptorSetAccelerationStructureKHR    accelerationStructureWriteDescriptorSet =
                {
                        VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR,      //  VkStructureType                                             sType;